xsl-list
[Top] [All Lists]

using XPath axis with HTML input

2005-06-02 05:21:18
Hi

I want to work with some HTML output (which is the result of some XSLT processing) and so need to access some bits of the HTML output using the XPATH axis.

So if I have an HTML file such as

-----------------------------------------------
<TABLE border="0">
<TR>
<TD width="50%"><FONT SIZE="4" COLOR="red">Checking for existence of Bolt...</FONT></TD> <TD width="50%"><FONT SIZE="4" COLOR="#FF4040">Exists as a Restriction: <B>hasPart Bolt[10237]</B></FONT></TD>
</TR>
</TABLE>
------------------------------------------------


How can I access for e.g. the <TD> with contents 'Exists as a Restriction.....' from another .xsl file next-in-chain suing any of the 13 axes? Also how can I extract the [10237] portion - Is it by simply applying certain string manipulation functions such as substring?

Thanks for all suggestions.

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>
--~--



<Prev in Thread] Current Thread [Next in Thread>
  • using XPath axis with HTML input, Rahil <=