I have an xml file like <!-- edited with XML Spy v2.5 NT - http://www.xmlspy.com --> <?xml-stypesheet href="xxxxxxxxx" type="text/css"?> <!DOCTYPE boCalculation SYSTEM "quote.dtd"> <!-- @version: 1.0--> <abc> . . . <abc> When I try to use tidy to convert it to html using tidy -asxml sample.html I get Tidy (vers 30th April 2000) Parsing "sample.html" line 12 column 1 - Error: <bocalculation> is not recognized! line 12 column 1 - Warning: missing </textarea> before <bocalculation> line 12 column 1 - Warning: discarding unexpected <bocalculation> line 13 column 6 - Error: <geninfo> is not recognized! line 13 column 6 - Warning: discarding unexpected <geninfo> line 14 column 10 - Error: <ctl_gst> is not recognized! line 14 column 10 - Warning: discarding unexpected <ctl_gst> line 14 column 22 - Warning: discarding unexpected </ctl_gst> line 15 column 10 - Error: <ctl_pst> is not recognized! line 15 column 10 - Warning: discarding unexpected <ctl_pst> line 15 column 22 - Warning: discarding unexpected </ctl_pst> line 16 column 10 - Error: <ca_payable> is not recognized! line 16 column 10 - Warning: discarding unexpected <ca_payable> line 16 column 22 - Warning: discarding unexpected </ca_payable> line 17 column 10 - Error: <ca_mpayment> is not recognized! line 17 column 10 - Warning: discarding unexpected <ca_mpayment> line 17 column 22 - Warning: discarding unexpected </ca_mpayment> line 18 column 10 - Error: <ca_term> is not recognized! "sample.html" appears to be HTML 4.01 Transitional 291 warnings/errors were found! This document has errors that must be fixed before using HTML Tidy to generate a tidied up version. Does it not do a straight conversion or am I doing something wrong? Thanks for your help Gouri KulkarniReceived on Wednesday, 21 June 2000 16:00:47 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:21:25 GMT