xml2str defaulting to current document state if no node is provided