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

RE: Comparing two large stylesheets

Subject: RE: Comparing two large stylesheets
From: "Bryan Rasmussen" <bry@xxxxxxxxxx>
Date: Wed, 27 Mar 2002 18:23:44 +0100
RE:  Comparing two large stylesheets
><temp:apply-templates select="$doc//xsl:template[@match=$match]">
><temp:with-param name="templatContent" select="$templatContent"/>
></temp:apply-templates>

forgot to put a mode here,

<temp:apply-templates select="$doc//xsl:template[@match=$match]"
mode="secondDoc">
<temp:with-param name="templatContent" select="$templatContent"/>
</temp:apply-templates>

<temp:template match="xsl:template" mode="secondDoc">
<temp:param name="templatContent"/>
<temp:param name="self"><xsl:copy-of select="."/></temp:param>
<xsl:if test="$templatContent = $self">match <temp:value-of
select="@match"/></xsl:if>
</temp:template>

probably too process intensive, wonder if it could be improved with keys.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.