ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 36653] xslt task: new attribute xinclude
Date Mon, 15 Dec 2008 16:28:52 GMT

--- Comment #10 from Remie Bolte <>  2008-12-15 08:28:51 PST ---
Created an attachment (id=23023)
 --> (
Resolve xi:include using xslt

Since the XInclude standard is pretty simple, you can also just implement your
own xi:include resolver using XSLT and XPath (see attachment).

This is a very basic implementation: it only supports the xpointer attribute to
resolve an element based on a match with the xml:id attribute.

It is probably not as perfect as using the XInclude resolving methods of the
xslt parsers (although i have found that those implementation also differ in
regard to the xpointer, so personally I like to use the snippet for it gives me
more flexibility in my projects).

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

View raw message