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