Subject: RE: XPath position of character in element
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Wed, 17 Apr 2002 15:07:02 +0100
|
string-length(substring-before(., 'e')) + 1
Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx
> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Nicolas
> Mazziotta
> Sent: 17 April 2002 14:19
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: XPath position of character in element
>
>
> Hello,
>
> does anybody know how to get the value of the position of a
> character in
> an element?
>
> e. g. : in <tag>abcdefg</tag>, the position of e is 5.
>
> Thank you.
>
> N. Mazziotta
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|