|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XInclude as an XSLT transformation?
On Dec 30, 2004, at 1:48 AM, Colin Paul Adams wrote:
Since it is essentially a tranformation on the XML Information Set, it occurs to me it ought to be possible to write a generic XInclude processor in XSLT. I've done this simple thing with my XSLT 2.0 stylesheets to handle my docs: <xsl:template match="xi:include" mode="resolve-linked-docs">
<xsl:copy-of select="document(@href)" />
</xsl:template>Bruce
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








