http://qs1969.pair.com?node_id=1065470


in reply to How can I add missing XML open tags

I suggest trying a canonicalizer such as XML::CanonicalizeXML. Your supplied data is not valid XML to begin with, so you would need to address that problem first, I suspect.

  • Comment on Re: How can I add missing XML open tags

Replies are listed 'Best First'.
Re^2: How can I add missing XML open tags
by Jim (Curate) on Dec 03, 2013 at 22:41 UTC

    The only problem with it is the closing tag <orders>, which is missing the all-important slash: </orders>. Other than this single typo, the XML is well-formed. (Whether or not the XML is "valid" is a different matter altogether.)

      The trailing <orders> was a typo it is </orders>