- From: Bjoern Hoehrmann <derhoermi@gmx.net>
- Date: Sun, 18 Feb 2007 16:22:22 +0100
- To: "John Schroeder" <tesoroytresor@hotmail.com>
- Cc: html-tidy@w3.org
* John Schroeder wrote: >Input file: XML with HTML embedded in the data. >Desired Output: Well-formed XML that includes embedded HTML code. >Issue: Well-formed XML isn't being generated. HTML tags like <p> and <BR> >not being closed by TIDY. Tidy is not capable of doing this; Tidy has essentially two parsing modes, one for HTML and one for XML. The XML parser can handle your myxmltag but cannot handle HTML elements, at least not if you forgot to close some elements or have similar errors. The HTML parser cannot handle myxmltag, unless you declare it using the --new-*-tags options, but most likely those won't do what you want. -- Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
Received on Sunday, 18 February 2007 15:22:23 UTC