Thanks for your answer.
That's true, there are some library for XML and I use it.
Sablotron is very usefull to transform XML -> HTML or other language...
I can use DOM XML function etc....
However, nothing to correct an HTML document and transform it on XHTML or XML.
Syber