Problem with pubxmlxmlNodeToDocument

We are trying to convert an xml to a record structure using pub.xml:xmlStringToXMLNode and
pub.xml:xmlNodeToDocument

The output of pub.xml:xmlNodeToDocument is a record but the record have elements as a string directly instead of the body tag. For example,
OrderNumber
BuyerOrderNumber 33333

instead of
OrderNumber
BuyerOrderNumber
body 33333

Any idea how to correct this? We are using wM 6.0.1
Thanks in advance!

You need to use the record specification in order to get
the body tag. put the namespace for your record into conformsTo.

There is no conformsTo in either pub.xml:xmlStringToXMLNode or
pub.xml:xmlNodeToDocument. Could you please explain?
Thanks

You might need to set isXML to true in pub.xml:xmlStringToXMLNode

HTH

Thahir