This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Processing HTML document.
- From: Daniel Veillard <daniel at veillard dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Wed, 5 Jun 2002 08:34:31 +0200
- Subject: Re: [xsl] Processing HTML document.
- References: <3CFCF365.4000507@w3ping.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
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@redhat.com | 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