当前位置: 首页 > 图文教程 > 网络编程 > ASP.NET > XML 属性顺序

ASP.NET
Web服务器控件:LinkButton控件
Web服务器控件:ListBox控件
Web服务器控件:ListItem控件
Web服务器控件:Literal控件
Web服务器控件:Panel控件
Web服务器控件:PlaceHolder控件
Web服务器控件:RadioButton控件
Web服务器控件:RadioButtonList控件
Web服务器控件:BulletedList控件
Web服务器控件:Style控件
Web服务器控件:Table控件
Web服务器控件:TableCell控件
Web服务器控件:TableRow控件
Web服务器控件:TextBox控件
Web服务器控件:XML控件
Validation服务器控件:CompareValidator控件
Validation服务器控件:CustomValidator控件
Validation服务器控件:RangeValidator控件
Validation服务器控件:RegularExpressionValidator控件
Validation服务器控件:RequiredFieldValidator控件

ASP.NET 中的 XML 属性顺序


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-03   浏览: 154 ::
收藏到网摘: n/a


Atrributes是无序的,即同一Element的Attributes,相互之间无顺序信赖(见XML 1.0标准的3.1节)。使用中遇到过不少情形,在解析XML文档时假设了解析器会首先处理某个Attribute、然后才处理另外一个,这种假设是不成立的。
值得注意的是,XML声明(XML declaration)的三个Attributes(version、encoding和standalone)是必须按顺序出现的(假如出现的话),这从下面可以看出:
XMLDecl ::= ''