← Prev in month ← Prev in thread
Next in thread → Next in month →

Using XXE and XInclude

From
Jens Stavnstrup <>
Date
2005-10-28T15:12:35+00:00
ID
Thread
Using XXE and XInclude
In [1] Bob Stayton describes how to use XInclude with DocBook. To my
annoyance that does not work with XXE [2], which will replace the the
xi:include element with the contents of the file intro.xml.

However [3] says thet XXE supports "xi:include elements pointing to a
single element."

So if we instead uses the following XInclude element, XXE works just fine.

<xi:include
    xmlns:xi="http://www.w3.org/2001/XInclude"  href="intro.xml"
    xpointer="intro"/>


Regards,

Jens

[1] http://www.sagehill.net/docbookxsl/ModularDoc.html#UsingXinclude
[2] htto://www.xmlmind.com/xmleditor
[3] http://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.xmleditapp.dialog.PreferencesEditorDialog.html#infoAboutReadOnlyInclusions
← Prev in month ← Prev in thread
Next in thread → Next in month →