Extend and element from another namespace

P

Philipp

Hello, I want to write an XML Schema A.xsd extending infos in schema
B.xsd which validates for the following.

<?xml version="1.0" encoding="UTF-8"?>
<A:rootTag
xmlns:A="http://www.example.org/A"
xmlns:B="http://www.example.org/B">
<B:someElement>
<B:eek:ne>1</B:eek:ne>
<B:two>2</B:two>
<A:eek:ther>other</A:eek:ther>
</B:someElement>
</A:rootTag>

So basically, I want schema A to take an element of B and extend it
with its own stuff (<A:eek:ther>). I expect schema B, to have no
references to schema A (but A will naturally import B)
Is this possible? If yes, what will the schemas look like?

Thanks Phil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top