Subject: Re: [xsl] extracting a substring between two tags From: Rahil <qamar_rahil@xxxxxxxxxxx> Date: Fri, 24 Jun 2005 12:15:24 +0100 |
<xsl:value-of select="TR/TD[2]/B[1]" />
Rahil wrote:
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 burningCharacter
[10244]</B></FONT></TD>
</TR>
I want to extract the substring 'hasAbsoluteState 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] extracting a substring be, Andrew Franz | Thread | [xsl] working with xsl:comment, Rahil |
Re: [xsl] extracting a substring be, Andrew Franz | Date | [xsl] working with xsl:comment, Rahil |
Month |