XMLD and Client::XML updated for XMLDecl