[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

using XPath axis with HTML input

Subject: using XPath axis with HTML input
From: Rahil <qamar_rahil@xxxxxxxxxxx>
Date: Thu, 02 Jun 2005 13:21:18 +0100
using xpath with html
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.