How to get a Broker Document in XML form ?

Hi !
I need to get the entire broker document in XML form through the exiting Java and C API.

Can someone help me :?: :?: :?: :?: :?: :?:

Avner

Go into MWS and search for the relevant document type. When you click on the document the same would be shown as an structure.