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

Re: XHTML gives an error

Subject: Re: XHTML gives an error
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Thu, 02 Jul 2009 20:00:10 +0200
Re:  XHTML gives an error
Badrul Anuar wrote:

I tried to capture some information and data from online XHTML file
using XSL. But there are few error before the file can be processed.
Maybe because of the html file. So i try to clean the xhtml file and
still face the problem. Currently, I'm using Tidy, but still face same
problem.
Does anybody know how to clean any XHTML file or to convert into XML.
If I have the XML, the it would be easier for me to use XSL.

Saxon can be used together with TagSoup (http://home.ccil.org/~cowan/XML/tagsoup/), that can deal with the HTML tag soup you find on the web.


The page that I try to convert is
http://tools.cisco.com/security/center/viewAlert.x?alertId=18261

However that document seems to have a complete XHTML document in the body of the outer document so you will have to try how TagSoup deals with that.


--

	Martin Honnen
	http://msmvps.com/blogs/martin_honnen/

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.