Subject: RE: Complex Path Checking From: Kay Michael <Michael.Kay@xxxxxxx> Date: Fri, 4 Aug 2000 00:04:27 +0100 |
> Now, I'm not exactly experienced when it comes to XPath. I tried the > following, but as I already expected ;) , it didn't work. > > <xsl:if > test="contains(ancestor::following-sibling::child::node(),'X')"> > You're guessing, and guessing syntax leans to some strange expressions! Try something like <xsl:if test="ancestor::*/following-sibling::*/child::*[.='X']"> Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: Complex Path Checking, Paulo Gaspar | Thread | RE: Complex Path Checking, Heiner de Wendt |
RE: next element with xsl:sort, Kay Michael | Date | RE: Evaluate a string to a node set, Kay Michael |
Month |