Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] XHTML gives an error

From: Martin Honnen <Martin.Honnen@---.-->
To: xsl-list@-----.------------.---
Date: 7/2/2009 6:01:00 PM
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/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe@l...>
--~--



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent