[xsl] extracting a substring between two tags

Subject: [xsl] extracting a substring between two tags
From: Rahil <qamar_rahil@xxxxxxxxxxx>
Date: Fri, 24 Jun 2005 11:46:06 +0100
Hi

I have a block of HTML such as

<TR>
<TD width="50%"><FONT SIZE="3" COLOR="blue">Checking for existence of Burning value of Wood...</FONT></TD>
<TD width="50%"><FONT SIZE="3" COLOR="#6666FF">Exists as a Restriction Class: <B>hasAbsoluteState&nbsp;burningCharacter
[10244]</B></FONT></TD>
</TR>


I want to extract the substring 'hasAbsoluteState&nbsp;burningCharacter' from the result of TR/TD[2]. I did something similar earlier using the long method of substring-after() and substring-before() but I wanted to know if theres a better way of applying the substring() function between say the two tags <B></B> or something similar ?

Thanks

Rahil

Current Thread