Re: [xsl] XHTML gives an error

Subject: Re: [xsl] XHTML gives an error
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Thu, 02 Jul 2009 20:00:10 +0200
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
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 (, that can deal with the HTML tag soup you find on the web.

The page that I try to convert is

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

Current Thread