xsl-list
[Top] [All Lists]

Re: [xsl] Fwd: text nodes

2008-09-16 23:20:55
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(_at_)lists(_dot_)mulberrytech(_dot_)com> 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--

======================================================================
B. Tommie Usdin                        
mailto:btusdin(_at_)mulberrytech(_dot_)com
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
======================================================================

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--





-- 
Ing. Lucas Lain

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>