XML 属性
翻译结果:
XML 被设计用来传输和存储数据。
HTML 被设计用来显示数据。
XML 属性 语法
XML元素具有属性,类似 HTML。
属性(Attribute)提供有关元素的额外信息。
XML 属性 示例
<messages> <note id="501"> <to>Tove</to> <from>Jani</from> <heading>Reminder</heading> <body>Don't forget me this weekend!</body> </note> <note id="502"> <to>Jani</to> <from>Tove</from> <heading>Re: Reminder</heading> <body>I will not</body> </note> </messages>
热门推荐
XML 相关词典