summaryrefslogtreecommitdiffstats
path: root/libxml2/test/VC/NS2
blob: d748d1a4119602a2421b1cef21591f17c2f96f24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE doc [
<!ELEMENT doc (#PCDATA | ns:a | ns:b)*>
<!ATTLIST doc
          attr  CDATA #REQUIRED
          xmlns:ns CDATA #IMPLIED>
<!ELEMENT a EMPTY>
<!ELEMENT b (#PCDATA)>
]>
<ns:doc ns:attr="val" xmlns:ns="http://www.example.org/test/">
   <ns:a/>
   <ns:b>first line</ns:b>
   <ns:b>second line</ns:b>
</ns:doc>