xmlStringToXMLNode can process HTML–if the HTML is well-formed.
Parsing HTML is troublesome because its syntax is fairly loose and browsers try to accommodate missing end tags, quotes, etc. “But it works when I view it in Internet Explorer” will be the statement when a document is rejected when it cannot be parsed for some reason.
If at all possible, I’d recommend avoid using HTML as payload.
#B2B-Integration#webMethods#Integration-Server-and-ESB