xsl-list
[Top] [All Lists]

RE: Selecting text bisected by child nodes. -- SOLVED

2003-04-22 13:28:11
[Gan Uesli Starling]

Answer:

Get left side of childe nodes with...

<xsl:value-of select="text()[1]"/>

...and right side with...

<xsl:value-of select="text()[2]"/>

...the index in square brackets does the
trick.


That would only work if you had a maximum of two text fragments.  It
would be better to assume that you might sometime have more.

Cheers,

Tom P

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>
  • RE: Selecting text bisected by child nodes. -- SOLVED, Passin, Tom <=