Camille B?gnis wrote:
> Hussein Shafie a ?crit :
> 
>>Camille B?gnis wrote:
>>
>>>XXE supports xincludes of elements using the xpointer ID reference syntax:
>>><xi:include href="Inserted.xml" xpointer="id"/>
>>
>>As simple and standard as it could be, isn't it?
>>
>>
>>>when compiling DocBook 5 documents.
>>>
>>>However I was unable to make this work outside of XXE:
>>>http://lists.oasis-open.org/archives/docbook-apps/200706/msg00043.html
>>>
>>>do XXE use the patched Xerces as pointed out in this thread or another
>>>parser?
>>>
>>
>>No, XXE does not use Xerces (nor Xalan). It uses XP (and Saxon). And if
>>it happened to use Xerces, it wouldn't rely on this excellent XML parser
>>to properly process XIncludes.
> 
> 
> So that would work with XP? I know that's a bit off topic, but How do
> you call XP through saxon?

No, it wouldn't work either, as XP doesn't support XInclude. The point is 
that XXE doesn't rely on the XML parser for XInclude processing. Instead it 
builds a "flat" representation of the document (with all XIncludes resolved) 
and handles that document to the XSLT engine.

Regards,

-- 
    Jean-Yves Belmonte - XMLmind.com


Reply via email to