[
Lists Home |
Date Index |
Thread Index
]
Marco,
You can do this - below is an example from Roger Costello's excellent
XFront W3C Schema tutorial [1]. This XML document references 3 separate
schema files, and assigns a separate namespace prefix (nikon, olympus,
and pentax) to each target namespace identifier (one per referenced
schema).
<?xml version="1.0"?>
<c:camera xmlns:c="http://www.camera.org"
xmlns:nikon="http://www.nikon.com"
xmlns:olympus="http://www.olympus.com"
xmlns:pentax="http://www.pentax.com"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://www.camera.org
Camera.xsd
http://www.nikon.com
Nikon.xsd
http://www.olympus.com
Olympus.xsd
http://www.pentax.com
Pentax.xsd">
<c:body>
<nikon:description>Ergonomically designed casing for easy
handling</nikon:description>
</c:body>
<c:lens>
<olympus:zoom>300mm</olympus:zoom>
<olympus:f-stop>1.2</olympus:f-stop>
</c:lens>
<c:manual_adapter>
<pentax:speed>1/10,000 sec to 100 sec</pentax:speed>
</c:manual_adapter>
</c:camera>
Hope this helps,
Joe Chiusano
Booz | Allen | Hamilton
[1] www.xfront.com
begin:vcard
n:Chiusano;Joseph
tel;work:(703) 902-6923
x-mozilla-html:FALSE
url:www.bah.com
org:Booz | Allen | Hamilton;IT Digital Strategies Team
adr:;;8283 Greensboro Drive;McLean;VA;22012;
version:2.1
email;internet:chiusano_joseph@bah.com
title:Senior Consultant
fn:Joseph M. Chiusano
end:vcard
|