[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: extracting a substring between two tags
Subject: Re: extracting a substring between two tags
From: Andrew Franz <afranz0@xxxxxxxxxxxxxxxx>
Date: Fri, 24 Jun 2005 21:09:30 +1000
|
<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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
RSS 2.0 |
|
Atom 0.3 |
|
|