47 lines
1.7 KiB
XML
47 lines
1.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- Sample XML Document with *weired* prefixes NS declarations -->
|
|
<nsp:personnel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://www.pok.xyz.com XMLSample.xsd" xmlns:nsp="http://www.pok.xyz.com"
|
|
xmlns:nspX="http://www.pok.xyz.com"
|
|
>
|
|
<person id="Boss">
|
|
<nss:name xmlns:nss="http://www.svl.xyz.com" >
|
|
<nsp:family>Smith</nsp:family>
|
|
<nss:given>Bill</nss:given>
|
|
</nss:name>
|
|
<email>smith1@foo.com</email>
|
|
<YearsOfService>21</YearsOfService>
|
|
<weight>175.1</weight>
|
|
<birthday>1955-03-21</birthday>
|
|
<nsp:link nsp:subordinates="worker"/>
|
|
</person>
|
|
|
|
<person id="Boss">
|
|
<nss:name xmlns:nss="http://www.svl.xyz.com" xmlns:nssFoo="http://www.svl.xyz.com"
|
|
xmlns:nspFoo="http://www.pok.xyz.com">
|
|
<nspFoo:family>Smith</nspFoo:family>
|
|
<nss:given>Bill</nss:given>
|
|
</nss:name>
|
|
<email>smith2@foo.com</email>
|
|
<YearsOfService>22</YearsOfService>
|
|
<weight>175.2</weight>
|
|
<birthday>1955-03-22</birthday>
|
|
<!-- other attribute prefix! -->
|
|
<nsp:link nspX:subordinates="worker"/>
|
|
</person>
|
|
|
|
<person id="Boss">
|
|
<nss:name xmlns:nss="http://www.svl.xyz.com" xmlns:nssFoo="http://www.svl.xyz.com"
|
|
xmlns:nspFoo="http://www.pok.xyz.com">
|
|
<nspFoo:family>Smith</nspFoo:family>
|
|
<nss:given>Bill</nss:given>
|
|
</nss:name>
|
|
<email>smith3@foo.com</email>
|
|
<YearsOfService>23</YearsOfService>
|
|
<weight>175.3</weight>
|
|
<birthday>1955-03-23</birthday>
|
|
<!-- new attribute prefix! -->
|
|
<nsp:link xmlns:nspY="http://www.pok.xyz.com" nspY:subordinates="worker"/>
|
|
</person>
|
|
</nsp:personnel>
|