xsl-list
[Top] [All Lists]

RE: Why is apply-templates not called?

2002-12-09 19:04:08
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="{(_at_)Name}"
      >
      </Color>
</xsl:template>


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



<Prev in Thread] Current Thread [Next in Thread>