Support for file attachments to XML documents
Added parentId and parentPath to XML header