|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Why is apply-templates not called?
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








