ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36653] xslt task: new attribute xinclude
Date Mon, 15 Dec 2008 16:28:52 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=36653





--- Comment #10 from Remie Bolte <remie@backbase.com>  2008-12-15 08:28:51 PST ---
Created an attachment (id=23023)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Mime
View raw message