Subject: Re: Fwd: text nodes
From: "Lucas Lain" <lucas.lain@xxxxxxxxx>
Date: Wed, 17 Sep 2008 00:20:26 -0300
|
Thanks for the reply ...
the output is:
"some text 1 some text 2 some text 3"
Regards,
Lucas.
On Tue, Sep 16, 2008 at 11:53 AM, XSL-List Owner
<xsl-list-owner@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> M. Lain --
>
> XSL-List is a plain text only forum. We did not see the bold you intended to
> use to highlight your data. May I suggest that, instead, you provide a
> sample of the output you want from your transform and an explanation of the
> logic you used to identify what you did and did not want in the output.
>
> -- Tommie Usdin
>
>
>> 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
> ======================================================================
>
>
--
Ing. Lucas Lain
|