W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2003

Re: Converting HTML to XML with a template

From: Ben Wiseley <wiseleyb@yahoo.com>
Date: Wed, 5 Nov 2003 12:45:15 -0800 (PST)
Message-ID: <20031105204515.96853.qmail@web10510.mail.yahoo.com>
To: Jeff Dunnett <jdunnett@uoguelph.ca>, html-tidy@w3.org


I believe what you're getting at would work like

Run       Through  =  Result
HTML ->   Tidy     =  XHTML
XHTML ->  XSLT     =  XML

The XSLT would be your "xml template".

At least that's how we do it at my shop.

We actually run HTML through Internet Explorer
before Tidy as IE will clean up the really,
really bad HTML a bit better (we have no control
over the HTML in our case).


--- Jeff Dunnett <jdunnett@uoguelph.ca> wrote:
> Hello Folks,
> I am relatively new to the uses of Tidy.  I've
> been reading through some 
> of the documentation from Tidy and some of the
> archives for this list 
> and I can't seem to find what I am looking for.
>  I am sorry if this 
> topic has already been covered.
> Is it possible convert HTML to XML using a XML
> template?  By template I 
> mean a outline of how you want the XML to look
> or how you want it 
> formatted.  If this is possible how would I go
> about doing this or could 
> you point me to where I can read up on this?
> Regards,
> Jeff

Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
Received on Wednesday, 5 November 2003 15:45:16 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:54 UTC