[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Why is apply-templates not called?

Subject: RE: Why is apply-templates not called?
From: Jeff Lowery <jlowery@xxxxxxxxxxxxxx>
Date: Mon, 9 Dec 2002 18:04:08 -0800
jeff lowery
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.