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

Re: Selectively applying Identity transform to multipl

Subject: Re: Selectively applying Identity transform to multiple inputs (Multiplexer Style Sheet)
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Fri, 05 Jan 2007 23:06:23 +0100
Re:  Selectively applying Identity transform to multipl
Abel Braaksma wrote:

<!-- XSLT 1: internal document handling --> <xsl:template match="node() | @*" mode="internal"> <xsl:apply-templates select="node() | @*" mode="internal" /> </xsl:template>


My mistake, I left out the <xsl:copy> here. Add it to these and equal identity template rules:


<!-- XSLT 1: internal document handling -->
<xsl:template match="node() | @*" mode="internal">
   <xsl:copy>
      <xsl:apply-templates select="node() | @*" mode="internal" />
   </xsl:copy>
</xsl:template>


I saw you had some more questions, about how to apply Charles Knell's solution to the identity template. Just take his solution and replace <xsl:copy-of> and change it to <xsl:apply-templates>. In addition, you will have to add at least one generic catch-all identity template rule, like the one above.


Cheers,
-- Abel Braaksma
  http://www.nuntia.nl

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-2007 All Rights Reserved.