公告:
界面修改中,请凑合看
导航:
首页(11)
XML学习笔记(1)
PHP学习笔记(3)
杂七杂八(5)
网文一大筐(2)
日历:
«April 2026»
1234
567891011
12131415161718
19202122232425
2627282930
搜索:

日志更新:
免费点歌
看看你和哪个明星最像
PHP5 new Functions
我就不信邪!!!
又和老婆视频了
网络真是神奇啊
正则表达式[转载]
在一个字段里存储多个值的方法
SOHU社区的一篇文章——我奋斗了18年
昨天和老婆视频了
最新评论:
回复:看看你和哪个明星最像
回复:看看你和哪个明星最像
回复:我就不信邪!!!
回复:免费点歌
留言板:
签写新留言

友情链接

猪贝窝
哈米波波
恋之风景
本站信息:
blog名称:好好学习天天向上
日志总数:11
评论数量:10
留言数量:0
访问次数:92591
建立时间:2005年1月21日

大少爷 发表于 2005/1/31 2:52:50
 XML Fundamentals: Tag Syntax: Start-tags begin with < and end-tags begin with </. Empty elements: begins with < but ends with />. XML is case sensitivity. Root element: It is the first element in the document and the element that contains all other elements. Mixed Content: contain both character data and child elements. Attributes: a name-value pair attached to the element's start-tag.Names are separated from values by an equals sign and optional whitespace. Values are enclosed in single or double quotation marks. XML Names: may contain essentially any alphanumeric character.may also include non-English letters, numbers, and ideograms such as ö, ç, and 串.They may also include these three punctuation characters: the underscore"-", the hyphen"_", the period".". Entity References: &lt; &amp; &gt; &quot; &apos; and some other user defined entity references. CDATA Sections: is set off by a <![CDATA[ and ]]>. Everything between the <![CDATA[ and the ]]> is treated as raw character data. Comments: begin with <!-- and end with the first occurrence of -->, a three hyphen close like ---> is specifically forbidden. Processing Instructions: begins with <? and ends with ?>. Immediately following the <? is an XML name called the target. The XML Declaration: The XML declaration looks like a processing instruction with the name xml and version, standalone, and encoding attributes. example: <?xml version="1.0" encoding="ASCII" standalone="yes"?> Checking Documents for Well-Formedness: Every start-tag must have a matching end-tag. Elements may nest, but may not overlap. There must be exactly one root element. Attribute values must be quoted. An element may not have two attributes with the same name. Comments and processing instructions may not appear inside tags. No unescaped < or & signs may occur in the character data of an element or attribute.  

阅读全文(3515) | 回复(0) | 编辑 | 精华 | 分类:软件技术,  电脑与网络

发表评论:
昵称:
密码:
主页:
标题:
验证码:  (不区分大小写,请仔细填写,输错需重写评论内容!)
 
站点首页 | 联系我们 | 博客注册 | 博客登陆

Sponsored By W3CHINA
W3CHINA Blog 0.8 Processed in 0.408 second(s), page refreshed 144814501 times.
《全国人大常委会关于维护互联网安全的决定》  《计算机信息网络国际联网安全保护管理办法》
苏ICP备05006046号