Re: [xsl] Attribute value (...when false)

Subject: Re: [xsl] Attribute value (...when false)
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 8 Dec 2005 10:12:06 GMT
// is an expensive operation.

<xsl:for-each select="//SoftwareDocInfo/table">
that searches the entire document for SoftwareDocInfo elements, then
selects table elements

            <xsl:when test="//entry and
This tests if there is an entry anywhere in the docucument (not
necessarily in this table)

		   <xsl:value-of select="//productID/productname"/>
This uses the first productID/productname in the document  (which may or
may not be what you want, I can't tell)

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread