If the original schema was not written for extensibility, you're out of luck.
For an example of a schema written for extensibility, see the WSDL schema . Note that almost everything extends the type wsdl:documented. Note that many elements also allow extensibility:
<complexType name="serviceType">
<complexContent>
<extension base="wsdl:documented">
<sequence>
<element ref="wsdl:port" minOccurs="0" maxOccurs="unbounded"/>
<any namespace="##other" minOccurs="0"/>
</sequence>
<attribute name="name" type="NCName" use="required"/>
</extension>
</complexContent>
</complexType>
The element anyallows you to include arbitrary XML.
By the way, everything that I know about XML Schema, I learned from XML Schema from Eric van der Vlist.
: O'Reilly Media, Inc.
: 25 2002 .
ISBN-13: 978-0-596-00252-7
: 400
. 13, .