Subject: RE: newbie question about strings and XPath expressions
From: Jarno.Elovirta@xxxxxxxxx
Date: Wed, 20 Aug 2003 07:32:56 +0300
|
Hi,
> Hello all, I'm new to XPath and need to find a text node in
> an xml document with a
> position higher than 6 and that also starts with 1 (it's an
> enumeration). XMLSpy tells
> me this expression is not valid, why?
> <xsl:apply-templates select="text()[position()>=6] and
> [starts-with(string(text
> ()),'1']"/>
<xsl:apply-templates select="text()[position()>6 and starts-with(.,'1')]"/>
Cheers,
Jarno - VNV Nation: Honour 2003
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|