Hi, Sorry if this is a unrelated question. I want to create a DOM tree from a XHTML file. If I get errors, I want to use a translator or some tools to convert the .html file to XHTML file and parse it again. I want my program to fail only after this attempt fails. Does anyone know where I can find this kind of software? Thanks. Wei