can anybody give sample program for converting xhtml doc to xml using jtidy in java.
or otherwise post the tutorial link for using jtidy
You might find these examples interesting.