How to repair XML file with tidy ?

diao <[email protected]>
Newsgroups gmane.comp.web.html-tidy.user
Message-ID <[email protected]>
Dear all,

I want to know whether the Tidy can repair a XML file, and how ?
I searched in the documents, but I cant find the example. I used the 
option "tidyOptSetBool( tdoc, TidyXhtmlOut, yes )" , however, the output 
is not a xml file.

I appreciate if someone could tell me how to use tidy to repair a xml 
file. Thanks.


                                                                         
      stan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.