Subject: Re: [xsl] Correct way to test for no match From: Dan Vint <dvint@xxxxxxxxx> Date: Fri, 02 Oct 2009 18:58:21 -0400 |
I think you probably want "ancestor::ipb/figure/subfig/graphic/@boardno=$sht_num" as a positive test -- this will be true if there is a match (there exists a graphic/@boardno in that place whose value is $sht_num).
Your second attempt can be true only if $sht_num is "", and never otherwise. (It will also fail if no graphic elements are found on that path.)
--------------------------------------------------------------------------- Danny Vint
Panoramic Photography http://www.dvint.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Correct way to test for n, Wendell Piez | Thread | Re: [xsl] Correct way to test for n, Dan Vint |
[xsl] XSL-List Guidelines, Mulberry Technologie | Date | [xsl] select/except based on positi, Jesper Tverskov |
Month |