xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Fwd: text nodes


Subject: Re: [xsl] Fwd: text nodes
From: XSL-List Owner <xsl-list-owner@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 16 Sep 2008 10:53:25 -0400

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
======================================================================


Current Thread
Keywords
xml
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor