[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XInclude as an XSLT transformation?

Subject: Re: XInclude as an XSLT transformation?
From: Bruce D'Arcus <bdarcus@xxxxxxxxxxxxx>
Date: Thu, 30 Dec 2004 08:33:55 -0500
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.