[xsd-users] CoT schema and xsd followup

Boris Kolpackov boris at codesynthesis.com
Thu Jun 29 05:28:34 EDT 2006


Hi Matt,

Please send technical questions like this to the xsd-users mailing
list instead of directly to me. This way others can benefit from the
information.

Matt Burnham <mwburn at mhpcc.hpc.mil> writes:

>    Quick question, if I do want to make the schema changes, does the
>    following code get added to the "core" schema? Inside an element?
>    Or does it get added to each sub-schema? Inside an element?
>
>  <xs:complexType name="embedded_data">
>    <xs:complexContent>
>      <xs:restriction base="xs:anyType">
>
>        ...
>
>      </xs:restriction>
>    </xs:complexContent>
>  </xs:complexType>

It is added to the embedded_data sub-schema (along with the
embedded-data element). Core schema only defines the substitution
group root:


<xs:element name="content" type="xs:anyType"/>


hth,
-boris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 652 bytes
Desc: Digital signature
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20060629/3a7447f6/attachment.pgp


More information about the xsd-users mailing list