Mapping published doc to xml

i need to map a published doc on broker to a xml file…need to know how should i do it

Hi,

You can use the built in service pub.xml:documentToXMLString to convert a document to an XML String.

Cheers,
Norberto