xsl-list
[Top] [All Lists]

Re: Attribute value (...when false)

2005-12-08 03:12:06

// 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
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



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