File: ComplexXMLObject.xml

package info (click to toggle)
xmltooling 3.3.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,016 kB
  • sloc: cpp: 23,286; sh: 4,446; xml: 1,493; makefile: 351; ansic: 27; python: 14
file content (23 lines) | stat: -rw-r--r-- 1,130 bytes parent folder | download | duplicates (17)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0" encoding="UTF-8"?>
<products xmlns:p="http://example.com/product-info">
    <product id="1144" xmlns="http://example.com/product-info">
        <name xml:lang="en">Python Perfect IDE</name>
        <empty xsi:nil="1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
        <description>
            Uses mind-reading technology to anticipate and accommodate
            all user needs in Python development.  Implements all
            <html:code xmlns:html="http://www.w3.org/1999/xhtml">from __future__ import</html:code> features though
            the year 3000.  Works well with <code>1166</code>.
        </description>
    </product>
    <p:product id="1166">
        <p:name>XSLT Perfect IDE</p:name>
        <p:description>
            <p:code>red</p:code>
            <html:code xmlns:html="http://www.w3.org/1999/xhtml">blue</html:code>
            <html:div xmlns:html="http://www.w3.org/1999/xhtml">
                <ref xmlns:xl="http://www.w3.org/1999/xlink" xl:type="simple" xl:href="index.xml">A link</ref>
            </html:div>
        </p:description>
    </p:product>
</products>