Re: HTML to XML
Further to my earlier post, the HTML to XML transformation is only valid on properly formed html. When we parse the HTML described in the earlier POST (XHML), we ignore all tags except those which start with the prefix namespace (in our case <xhml:foo>). I do not think there would be any purpose to transforming any tags from html with the exception of properly constructed <html><head><title><body><p> tags. This may be wrong thinking as I am only looking at it from my onw purposes. Soemone may have a purpose other than my own for which this makes sense. Duane Nickull ----- Original Message ----- From: Sebastian Rahtz <sebastian.rahtz@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxx> Sent: Tuesday, December 07, 1999 1:48 AM Subject: Re: HTML to XML > Marco.Mistroni@xxxxxxxxx writes: > > has anyone written a stylesheet for converting HTML to XML???i would > > be interested to talk for exchanging some ideas.. > > it would be impressive if it had been done, since HTML is (almost) > never well-formed XML, and so would not make it past the initial > parse of the XSL processor.... > > Dave Raggett's "tidy" seems to do as good a job as any > > Sebastian > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format