xsl-list
[Top] [All Lists]

Re: extracting a substring between two tags

2005-06-24 04:09:30
<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&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




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>