Fixed Feature TDI-26630: tAdvancedFileOutputXml / add option to add
Document type as text (default) or node
https://jira.talendforge.org/browse/TDI-26630
Note:Optimize the code