Subject: Re: [xsl] Fwd: text nodes From: XSL-List Owner <xsl-list-owner@xxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 16 Sep 2008 10:53:25 -0400 |
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
====================================================================== B. Tommie Usdin mailto:btusdin@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Phone: 301/315-9631 Suite 207 Direct Line: 301/315-9634 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in XML and SGML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Fwd: text nodes, Lucas Lain | Thread | Re: [xsl] Fwd: text nodes, Lucas Lain |
Re: [xsl] // expanding to descendan, Colin Adams | Date | RE: [xsl] // expanding to descendan, Michael Kay |
Month |