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>
<Bne>1</Bne>
<B:two>2</B:two>
<Ather>other</Ather>
</B:someElement>
</A:rootTag>
So basically, I want schema A to take an element of B and extend it
with its own stuff (<Ather>). 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
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>
<Bne>1</Bne>
<B:two>2</B:two>
<Ather>other</Ather>
</B:someElement>
</A:rootTag>
So basically, I want schema A to take an element of B and extend it
with its own stuff (<Ather>). 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