|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Marking up a simple "and" condition in Boolean operation
> How do I mark up a simple *and*?
use and.
<xsl:when test="Image"> <!-- I need an "and
NegNumber" test here -->
<xsl:when test="Image and NegNumber">
although I suspect you don't need your tests at all as
it appears that what you want is
<Graphic>
<xsl:for-each select="URL|Image|NegNumber">
<xsl:attribute name="{name()}" select="."/>
</xsl:for-each>
<xsl:apply-templates select="Caption"/>
</Graphic>
(untested)
David
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








