Doc fixes

- Fix error on DOCTYPE in an xml sample
- documentation fixes to be more coherent