xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Laflamme" <christian.lafla...@silverrun.com>
Subject Re: Html To Xml
Date Wed, 24 Jan 2001 15:36:29 GMT

you can just add the 2 following lines at begining of the HTML file
<?xml version='1.0'?>

and change the extension to .xml
but you also the need the DTD file defining all the tags, otherwise, you
won't be able to transform it with XSL files

the HTML file must also be valid, which means, for example, that <P> must
closed with </P>, attributes must be inside quotes (<IMG SRC="image.gif">),


----- Original Message -----
From: "Alkesh Nandanwar" <alkesh.nandanwar@digitalfocus.com>
To: <general@xml.apache.org>
Sent: Tuesday, January 23, 2001 2:53 PM
Subject: Html To Xml

> hello,
> How do I convert html document to xml document. I want to create xsl from
> it.
> Thanks
> ---------------------------------------------------------------------
> In case of troubles, e-mail:     webmaster@xml.apache.org
> To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
> For additional commands, e-mail: general-help@xml.apache.org

View raw message