xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Comparing two large stylesheets


Subject: RE: [xsl] Comparing two large stylesheets
From: "Bryan Rasmussen" <bry@xxxxxxxxxx>
Date: Wed, 27 Mar 2002 18:23:44 +0100

><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
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor