[oXygen-user] XInclude
Sorin Ristache
Tue Aug 15 07:20:03 CDT 2006
Hello,
XInclude is just an inclusion mechanism intended to facilitate
modularity of XML documents. With the XInclude support switched on
oXygen's internal parser resolves the XInclude references in parsed XML
documents. This occurs in well-formedness/validity checks as you already
noticed, in XSL transformations, when generating a schema (Relax NG,
DTD, W3C XML Schema) from a set of XML documents, etc.
Editing in oXygen works at file level, not at document level. This is
also true for the save operation. So you cannot see a view of the entire
document with the XInclude references resolved. If you want to save the
document as a single file after resolving the references just apply the
XSLT identity transform on the main module of the document.
The oXygen User Manual presents an example of splitting a document in
multiple fragments using XInclude. For specific details I think the W3C
recommendation is the place to go.
Regards,
Sorin
Mark Seaborne wrote:
> Hi I am just starting to experiment with Oxygen's XInclude support. I
> now have a document that uses XInclude and Oxygen has XInclude switched
> on.
>
> Apart from checking well-formedness/validity across the XML instances
> what other functionality does Oxygen give me? For example can I view
> the document with the XInclude statements resolved, or can I choose to
> save the document either before or after XInclude processing?
>
> The help documentation is not very forthcoming on the subject (unless I
> am missing something obvious, which I don't rule out).
>
> All the best
>
> Mark
More information about the oXygen-user
mailing list