[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: plea for help...
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
|
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
|