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

RE: plea for help...

Subject: RE: plea for help...
From: Kipp.Howard@xxxxxxxxxxxxxx
Date: Thu, 9 Mar 2006 09:50:25 -0800
kipp howard
On Wed, 2006-03-08 at 16:45 -0600, Walter Torres wrote:
> Well, now that I've sold the idea, I'm stumped on how to do it.
> 
>  1) convert HMTL into well formed HTML (many are not)
>  2) convert well formed HTML into xHTML
>  3) convert xHTML into XML
>  4) create XSLTs to transpose XML back to HTML for page display

Sorry if this has already been suggested, but in the past I have
successfully used:

1. Process the page through a browser (programmatically) and
   retrieving its page representation as text.
   This uses the browser's capabilities of fixing some really
   bad HTML.  In my case I used IE to do this.
2. Process the retrieved HTML through tidy (converting to xHTML)

If your pages as a whole don't have really bad HTML, you may be able
to use tidy alone and be done with it.

In my case, we applied an XSLT file to scrape data from the HTML page.

-- 
Kipp E. Howard
Sr. Software Engineer, LexisNexis File & Serve
Phone: 425.372.1837 or 800.774.7317 ext 1837
Email: kipp.howard@xxxxxxxxxxxxxx

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.