xml00
2016-03-21 17:08
218 查看
<?xml verson="1.0" encoding="ISO-8859-1"?> xml声明 <note> <to>jone</to> <from>tom</from> <heading>remider</heading> <body>Don't froget the meeting,</body> </note> xml具有出色的自我描述, 形成梳状结构 xml是严谨的, 开始标示和结束标示必须同时拥有, 不可以本省略 大小写敏感 必须正确嵌套 属性值必须加引号 <note date="2015/08/23"> <to>a</to> <from>b</from> </note> xml注释 <!-- This is a comment --> 空格会被保留下, 与html的有区别 xml的元素内容 <bookstore> <book category="CHILDREN"> <title>Harry poter </title> <athor>H.ter</athor> <year>2015</year> <price>23.45</price> </book> </bookstore> 属性 vs 元素, 元素的可读性,更高 <note> <date> <day>08</day> <month>08</month> <year>2008</year> </date> <to>tom</to> <from>jhon</from> <heading>reminder</heading> <body>Don't forget the meeting</body> </note>
相关文章推荐
- [ActionScript 3.0] 自定义顶级类
- 如何应对SHA-1加密算法升级为SHA-256
- 贪心算法 Problem M 1012 已知幂和结果求底数
- [LeetCode][二叉搜索树]Lowest Common Ancestor of a Binary Search Tree
- CSS总结(二)—— 浮动 与 清除浮动
- 数据结构(java语言描述)递归实现——汉诺塔问题
- 单元测试示例
- MySQL重装失败,could not start the service MySQL.Error:0
- Django学习随手记(六)
- c++继承
- deep learning GPU如何选型号
- spp_net 代码实现过程
- HTML编码规范 - (WEB前端命名规范)
- [codevs 1515]跳 【解题报告】
- Java集合&List的实现
- 集合排序的两种方法Comparable接口和Comparator接口(比较器)
- MySQL重装失败,could not start the service MySQL.Error:0
- 【转】Spring Bean属性解析
- 关于对程序的阅读
- Token or TokenToolss