Fix nesting of xml documents
Add missing tag