Hi Hariom,
this depends on which format of the data you need for further processing.
Some functions operate on the node, some functions(mappings) are more easier to do on a Document representation of the data.
It is up to you to choose the right format of the data for your purpose.
Regards,
Holger
#Integration-Server-and-ESB#webMethods-General#webMethods