<?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>

xml00的更多相关文章

随机推荐

  1. iOS 在 ARC 环境下 dealloc 的使用、理解误区

    iOS 在 ARC 环境下 dealloc 的使用.理解误区 太阳火神的漂亮人生 (http://blog.csdn.net/opengl_es) 本文遵循"署名-非商业用途-保持一致&qu ...

  2. 【SQLSERVER】MD5注意事项

    sql中使用MD5加密是很常见的事情,但是不知道注意点的人还是会即便是拷贝网络上的写法也是会出现错误的. 举个例子简单说明: 由上图我们可以发现相同的字符串但是得到的MD5加密的字符却是不相同的,那么 ...

  3. LeetCode 5_Longest Palindromic Substring

    LeetCode 5_Longest Palindromic Substring  题目描写叙述: Given a string S, find the longest palindromic sub ...

  4. [HDU 4261] Estimation

    [题目链接] http://acm.hdu.edu.cn/showproblem.php?pid=4261 [算法] 首先,有一个结论 : | a[1] - k | + | a[2] - k | + ...

  5. 2017-3-8 leetcode 380 381 532

    l两周以来,第一次睡了个爽,开心! ================================= leetcode380 https://leetcode.com/problems/insert ...

  6. thinkphp 内存查询表 防止多次查库

    //从内存查询 表 以防止多次查库 private static function selectTable($tableName,array $where,$getFirst=false){ $res ...

  7. golang 初体验

    1.下载golang https://code.google.com/p/go/downloads/list 在windows下安装,下载windows32版本 2.安装 安装完毕,默认在C:\Go ...

  8. linux下创建公钥

    # linux下创建公钥 链接地址:https://www.cnblogs.com/ibyte/p/6086630.html 示例: scp -r /home/yutang/.ssh/id_rsa.p ...

  9. [] == ![]为什么是true

    我们先来考虑这个问题,console.log([] == false)会打印什么呢? 答案是true.为什么呢? 首先,因为当"=="号两边其中一个是布尔值的话,先把它转换为数字( ...

  10. 实现model中的文件上传FTP(一)

    由于在django的model中配置了filefield或者imagefield配置了upload_to参数只能将用户上传的文件上传到项目本地,就算重定向到项目外也只是直接读取文件系统,这样对未来的项 ...