Hi, XInclude is an alternative to xlink and using external entities.
The semantics of XInclude is that an XML processor (i.e. XSLT engine), can be configured to build a composite document at parse time. The advantage over external entities is that you do not have to define all the inclusions in the master document, therefore each document fragment can be standalone and can include other documents themselves. XInclude is now the preferred W3 way of doing composite documents in XML. Hope this information helps, Paul -----Original Message----- From: [email protected] [mailto:xmleditor-support-admin at pixware.fr]On Behalf Of Hussein Shafie Sent: December 16, 2002 5:39 AM To: Paul Austin Cc: xmleditor-support at xmlmind.com Subject: [XXE] Re: XInclude Paul Austin wrote: > > Large documents are easier to manage when split into small chunks, that > could be per chapter or an individual section. Also where examples or > computer output is needed in a document it would be much more convenient to > be able to import the text from that file into a document. > > The xinclude specification allows these kind of master document with child > fragments to be produced. See examples below > > <xi:include href="sectionA.docb" parse="xml" > xmlns:xi="http://www.w3.org/2001/XInclude"/> > <xi:include href="programlisting.txt" parse="text" > xmlns:xi="http://www.w3.org/2001/XInclude"/> > > If XMLMind had a facility to understand xinclude and display in the styled > view a hyperlink to the linked document this would be useful. > > Also another more advanced feature that would be good is to be able to > select a portion of a document and to move the contents to a document > fragment and create the xlink. I don't know the XInclude spec: http://www.w3.org/TR/2002/CR-xinclude-20020917 I'll read it and we will seriously think about it before implementing planned features: * Easy to use support of multi-file documents based on standard external entities. * Support of XLink. (See http://www.xmlmind.com/xmleditor/features.html#planned) -- XMLmind XML Editor Support List xmleditor-support at xmlmind.com http://www.xmlmind.com/mailman/listinfo/xmleditor-support

