[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
hi,
i was thinking the following xpath could be simplified as it has redundant infos. but somehow i cannot bring this to work:
the second line in each member of the above union is the same so i think it must be possible to combine these. i tried
but this does not work...
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
[xsl] simplify XPath expression
Subject: [xsl] simplify XPath expression From: Christof Höke <christof.hoeke@xxxxxxx> Date: Wed, 21 Jan 2004 18:32:41 +0100 |
hi,
i was thinking the following xpath could be simplified as it has redundant infos. but somehow i cannot bring this to work:
combilist/item/head[1][not(../date)] [not(../image) and count(../description)=1] | combilist/item/head[2][not(../price)] [not(../image) and count(../description)=1]
the second line in each member of the above union is the same so i think it must be possible to combine these. i tried
( combilist/item/head[1][not(../date)] | combilist/item/head[2][not(../price)] ) [not(../image) and count(../description)=1]
but this does not work...
thanks for any suggestions. chris
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: RE: RE: [xsl] remove <b> and <b, cknell | Thread | RE: [xsl] simplify XPath expression, Lars Huttar |
RE: [xsl] Multiple HTML files, SHEIKH Sajjad | Date | RE: [xsl] remove <b> and <br>+merge, cknell |
Month |
Keywords