Subject: RE: Why is apply-templates not called?
From: Jeff Lowery <jlowery@xxxxxxxxxxxxxx>
Date: Mon, 9 Dec 2002 18:04:08 -0800
|
Nevermind. By scanning through the FAQ and making a couple of lucky
inferences, I got this to do more or less what I want:
<xsl:template match="jdf:ColorantControl">
<!-- need distortion compensation here -->
<ProcessColorMap>
<xsl:apply-templates select="//jdf:Color[(@Name='Cyan') or
(@Name='Yellow') or (@Name='Magenta') or (@Name='Black')]"/>
</ProcessColorMap>
<SpotColorMap>
<xsl:apply-templates select="//jdf:Color[not((@Name='Cyan') or
(@Name='Yellow') or (@Name='Magenta') or (@Name='Black'))]"/>
</SpotColorMap>
</xsl:template>
<xsl:template match="jdf:Color">
<Color
colorName="{@Name}"
>
</Color>
</xsl:template>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|