How to save an invalid XHTML website as valid XML

pajdo

New Member
There is a website which is invalid XHTML (some closing tags are missing).I want to process its contents with XSLT, but therefore, I need a valid XML input.Is it possible to save the DOM document the browser creates from the invalid XHTML input as valid XML/XHTML?
 
Back
Top