This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: XPath position of character in element


string-length(substring-before(., 'e')) + 1

Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com 

> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Nicolas
> Mazziotta
> Sent: 17 April 2002 14:19
> To: xsl-list@lists.mulberrytech.com
> Subject: [xsl] 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]