Subject: Re: [xsl] Check if a node-set exists From: David Carlisle <davidc@xxxxxxxxx> Date: Thu, 10 Jul 2003 16:38:29 +0100 |
> Is there a statement in XSL that I can use to check if a certain > node-set exists in a XML document? You can't check if it exists but you can check if it is non empty <xsl:if test="$x"> for example tests if te hnode set held in $x is empty or not. David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Check if a node-set exist, Lars Huttar | Thread | RE: [xsl] Check if a node-set exist, Martinez, Brian |
RE: [xsl] Check if a node-set exist, Lars Huttar | Date | RE: [xsl] XSLT Problem, Roger Sperberg |
Month |