Home | History | Annotate | Download | only in tests
      1 XML declaration
      2 Attr: version='1.0'
      3 ROOTELEMENT: component
      4 INTERNAL DTD: [
      5 <!ELEMENT component (PCDATA|sub)*>
      6 <!ATTLIST component
      7           attr CDATA #IMPLIED
      8           attr2 CDATA #IMPLIED
      9 >
     10 <!ELMENT sub EMPTY>
     11 
     12 ]
     13 Start Tag: component
     14 Attr: attr="val'ue"
     15 Attr: attr2='val"ue'
     16 PCDATA: "
     17 "
     18 Comment: "<!-- This is a comment -->"
     19 PCDATA: "
     20 Text
     21 "
     22 CDATA: "<![CDATA[huhu]]>"
     23 PCDATA: "
     24 
     25 &amp;
     26 &lt;
     27 "
     28 PI: xtal
     29 Attr: cursor='11'
     30 PCDATA: "
     31 "
     32 Empty Element: sub
     33 PCDATA: "
     34 "
     35 Start Tag: sub
     36 End Tag: sub
     37 PCDATA: "
     38 "
     39 End Tag: component
     40