-
Notifications
You must be signed in to change notification settings - Fork 14
/
sample.xml
41 lines (41 loc) · 1.31 KB
/
sample.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?xml version="1.0" encoding="UTF-8"?>
<!-- Comment at top before declarations -->
<!DOCTYPE note SYSTEM "Note.dtd">
<!DOCTYPE chapter [
<!ELEMENT chapter (title,para+)>
<!ELEMENT title (#PCDATA)>
<!ELEMENT para (#PCDATA)>
]>
<!-- Comment at top after declarations -->
<examples att1="ex1" att2="ex2">
<tag1 att1="<att0>" att2="att0">
<tag11 att1="att0">Hello <![CDATA[你好]]> <!-- comment --><![CDATA[Gür]]></tag11>
<tag11 att1="att0">InnerText111</tag11>
<tag12 att1="att0"/>
<tag13>InnerText13</tag13>
<!-- some comments <> "" '' -->
<tag14/>
</tag1>
<!-- some comments <> "" '' -->
<tag1 att1="<att1>" att2="att1">
<tag11 att1= "att1">InnerText2</tag11>
<tag12 att1=
"att1"/>
<tag13>InnerText213</tag13>
<tag14 />
</tag1>
<tag2 att1="testattr<"/>
<tag2 att1="testattr<2"/>
<tag3>tag31</tag3>
<tag3 att1="testattr<2">tag32 </tag3>
<skipOutsideTag>
<tag4>SkipTag</tag4>
</skipOutsideTag>
<tag4 > <!-- some comments <> "" '' -->
<tag11 att1="att0 ">InnerText0 </tag11>
</tag4 >
<skipOutsideTag>
<tag4>SkipTag</tag4>
</skipOutsideTag>
<quotetest att1='test' att2='test"' att3="test'"/>
</examples>