- From: Fabrice Estiévenart <fe@cetic.be>
- Date: Fri, 12 Dec 2003 11:29:53 +0100
- To: html-tidy@w3.org
- Message-Id: <5.1.0.14.0.20031212105704.0325d620@127.0.0.1>
hi, i'd like to transform an html file - including some user-defined tags such as <meta:element>, <meta:value>,... - into an xml document so that <meta>, <br>, <hr>,... elements will be closed for example, the following file : <html xmlns:meta="http://www.uri.com"> <head> <meta content="en" name="Language"> <meta:element name="title_head"><title><meta:value>About this site</meta:value></title></meta:element> </head> <body> <hr> <table> <tbody> <tr> <meta:any> <td> ... </td> </meta:any> </tr> </tbody> </table> </body> </html> would become : <html xmlns:meta="http://www.uri.com"> <head> <meta content="en" name="Language"/> <meta:element name="title_head"><title><meta:value>About this site</meta:value></title></meta:element> </head> <body> <hr/> <table> <tbody> <tr> <meta:any> <td> ... </td> </meta:any> </tr> </tbody> </table> </body> </html> with that tidy configuration file : input-xml:yes output-xml:yes char-encoding:latin1 doctype:omit indent:yes quote-nbsp:no quote-marks:no quote-ampersand:no new-blocklevel-tags : meta:element,meta:any,meta:value i get errors such as "unexpected </head> in <meta>"... could someone help me ? AtDhVaAnNkCsE Fabrice
Received on Friday, 12 December 2003 05:29:56 UTC