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

Subject: Re: [xsl] Attribute value (...when false)
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 8 Dec 2005 21:46:51 GMT
> I only want the "entry" elements that appear in
> SoftwareDocInfo/table, so using the //entry was an
> error, which I have now changed to /entry. The result
> is almost the same.

/ means the root of the document so /entry selects an entry element
if the top level element in the document is empty, and nothing
otherwise.

You probably want test="entry" to test if there is a child entry element
of the current node.


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