PageRenderTime 19ms CodeModel.GetById 15ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/tutorial/xml/sax/example.xml

http://github.com/tybor/Liberty
XML | 21 lines | 21 code | 0 blank | 0 comment | 0 complexity | 31152053822c74ae256f24d841d05cf3 MD5 | raw file
 1<?xml version='1.0'?>
 2<!DOCTYPE tree [
 3  <!ELEMENT tree (node*)>
 4  <!ELEMENT node (node|leaf)*>
 5  <!ELEMENT leaf (#PCDATA)>
 6  <!ATTLIST leaf id ID #REQUIRED>
 7]>
 8<tree>
 9  <node>
10    <leaf id="1"/>
11    <leaf id="2">lt is &lt; but gt is &gt;</leaf>
12    <leaf id="3">
13<![CDATA[
14This is an example of a raw <cdata> leaf.
15]]>
16    </leaf>
17    <node>
18      <leaf id="4"/>
19    </node>
20  </node>
21</tree>