File: test.xml

package info (click to toggle)
libxml-stream-perl 1.24-4%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 952 kB
  • sloc: perl: 4,821; xml: 64; makefile: 4
file content (67 lines) | stat: -rw-r--r-- 1,875 bytes parent folder | download | duplicates (9)
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<test_xml>
    <blah test='2'/>
    <foo test='3'>
        <bar/>
    </foo>
    <!---
        <comment_test test='4'/>
    -->
    <last test='5'>
        <test1>
            <test2>
                <test3>This is a test.</test3>
            </test2>
        </test1>
    </last>
    <a>
        <b>
            <c>
                <d>
                    <e>
                        <e>foo1</e>
                    </e>
                </d>
                <q>
                    <d>
                        <e>foo2</e>
                    </d>
                </q>
            </c>
        </b>
    </a>
    <e>bar</e>
    <library>
        <pamphlet>
            <section><para>pA</para></section>
        </pamphlet>
        <book>
            <chapter>
                <section><para>p1</para><para>p2</para></section>
            </chapter>
            <chapter>
                <section><para test='b'>p7</para><para>p8</para></section>
            </chapter>      
            <chapter>
                <section><para>p13</para><para test='a'>p14</para></section>
            </chapter>
            <appendix>
                <section><para>p19</para><para>p20</para></section>
            </appendix>
        </book>
    </library>
    <filter id='a' mytest='2'>valueA</filter>
    <filter id='b' mytest='1'>valueB</filter>
    <filter>valueC</filter>
    <newfilter bar='1'><sub>foo1</sub></newfilter>
    <newfilter bar='2'><add>foo2</add></newfilter>
    <newfilter bar='3'><div>foo3</div></newfilter>
    <newfilter foo='1'><sub>foo4</sub></newfilter>
    <newfilter foo='2'><add>foo5</add></newfilter>
    <newfilter foo='3'><div>foo6</div></newfilter>
    <startest>
        <foo test='1'/>
        <bar/>
        <bing test='2'/>
    </startest>
    <cdata_test test='6'><![CDATA[This is cdata with <tags/> embedded <in>it</in>.]]></cdata_test>
</test_xml>