|
Subject: RE: [xsl] XPath position of character in element From: Jarno.Elovirta@xxxxxxxxx Date: Wed, 17 Apr 2002 16:26:49 +0300 |
> 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. <xsl:value-of select="string-length(substring-before(tag, 'e')) + 1" /> Santtu XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] XPath position of charact, Michael Kay | Thread | [xsl] Setting attributes of FO elem, Emma Larsson |
| [xsl] XPath position of character i, Nicolas Mazziotta | Date | RE: [xsl] XPath position of charact, Michael Earls |
| Month |