Re: [xsl] Processing HTML document.

Subject: Re: [xsl] Processing HTML document.
From: Daniel Veillard <daniel@xxxxxxxxxxxx>
Date: Wed, 5 Jun 2002 08:34:31 +0200
On Tue, Jun 04, 2002 at 07:05:41PM +0200, Antonio Fiol wrote:
> Hello,
> 
> I am trying to get an XHTML document into an XSLT processor, to get XML 
> on the output.

  A slightly different approach is to use an HTML parser front-end
instead of an XML one for the XSLT processor, that's how I maintain 
a number of web pages (authoring HTML is easier for me than maintaining
X(HT)ML). With xsltproc the --html option does this, and I'm pretty sure
most Java based implementation can use an HTML parser delivering SAX
events (but I never tried).

Daniel

-- 
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
veillard@xxxxxxxxxx  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/

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


Current Thread