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]

[xsl] Extracting text between nodes


Subject: [xsl] Extracting text between nodes
From: Liron <magilam@xxxxxxxxxxxxxxxx>
Date: Wed, 13 Feb 2008 21:16:41 +0200

Hello,

I have html code that looks like this;

<td><font><b>Title</b><br/>Some Text<i> and some more italic text</i><b> maybe even some more</b><a href="http://whatever.com">And an anchor</a></font></td>

I want to extract only the text between the first <br/> tag and the last <a> anchor tag, without the anchor's text but including all text in child elements such as the <i> and <b> - "Some Text and some more italic text maybe even some more"

How can I do it with xsl?

Thank you
Liron



Current Thread
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