Subject: Re: [xsl] Re: xpath based on condition From: Mike Brown <mike@xxxxxxxx> Date: Thu, 15 Aug 2002 01:02:42 -0600 (MDT) |
Dimitre Novatchev wrote: > Use: > > <xsl:variable name="xpath" > select="//Header[$Path]/*[name()=$Path] > | > //Header[not($Path)]"/> > > Because the conditions in the two predicates negate each other, only > one of the operands of the above union will actually be selected. Even better. Aruniima, please do not post the same message 3 times with different subject lines each time. Once is enough. - Mike ____________________________________________________________________________ mike j. brown | xml/xslt: http://skew.org/xml/ denver/boulder, colorado, usa | resume: http://skew.org/~mike/resume/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re: xpath based on condition, Dimitre Novatchev | Thread | [xsl] any good solution for covert , stoneson |
Re: [xsl] Global Variable, Mike Brown | Date | Re[2]: [xsl] xsl/xslt coding standa, Bernd Gauweiler |
Month |