Resolved a problem in format with XML documents