Subject: Fwd: text nodes
From: "Lucas Lain" <lucas.lain@xxxxxxxxx>
Date: Tue, 16 Sep 2008 11:37:09 -0300
|
Hi List,
Can you help me with an expression?
i need to select following text until next element (on bold)
<a>hello</a> some text 1<br/>
some text 2
some text 3
<a>hello 2</a>
I need to get that text serialized (or at least separated by "|")
i am using:
<xsl:for-each select="following::text()[not(name(.)='a')]">
<xsl:value-of select="."/>
</xsl:for-each>
but i need to stop on the first occurrence on the "[ ]"
Thanks in advance.
Regards,
--
Ing. Lucas Lain
|