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

Re: Transforming the XSL-List archive into RSS 1.0

Subject: Re: Transforming the XSL-List archive into RSS 1.0
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Thu, 03 Jul 2003 20:54:51 +0200
rss 1.0 xsl
From: "Jimmy Cerra" However, when I looked at the source of the list, I noticed that the
pages are served as the SGML-flavor of HTML. :-( XSL can't really work
with this because of the unbalanced tags (<li>, <br>, etcetera).
However, the pages do validate as HTML 4.01 Strict. How do I work
around the unfortunate format and convert it to sensible XML?

The common approach is to run the HTML through tidy or whatever equivalent your toolset contains in order to convert it to XHTML. Check out jtidy for integration with Java based XSLT processors. Another approach is to use a HTML parser, like Xerces in HTML mode.

J.Pietschmann




XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



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.