[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