This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]