[xsd-users] include one xml file in another

Boris Kolpackov boris at codesynthesis.com
Sun Jul 22 11:06:03 EDT 2007


Hi Uri,

Uri Karagila <uri at hyperroll.com> writes:

> Is there a way (supported by code-synthesis) to include one xml file in
> another?

XSD does not directly support XML document partitioning and inclusion.
There are, however, many ways you can achieve this yourself. One way
would be to resolve all references at the DOM level and feed the
assembled DOMDocument to one of the generated parsing functions.

Alternatively you can use type customization to resolve fragments
during parsing (in a way similar to the custom/wildcard example).


hth,
-boris




More information about the xsd-users mailing list