Creating XMl in BPEL process

I would like to know is there any standard way to create Xml in BPEL process like we have DOM parser in JAVA.

I can do it using string functions to form xml in BPEL. But I think it is not ideal.
I am looking for something like inbuilt XML forming functions in BPEL like DOMparser to do the xml formation.
Can any help me ?

You declare the XML Schema as a WSDL message and then fill it with a assign/copy activity (with the use of xpath).

Greetings
Bernd
--
Chief Architect (R&D) SEEBURGER.com
http://bernd.eckenfels.net

XML.org Focus Areas: BPEL | DITA | ebXML | IDtrust | OpenDocument | SAML | UBL | UDDI
OASIS sites: OASIS | Cover Pages | XML.org | AMQP | CGM Open | eGov | Emergency | IDtrust | LegalXML | Open CSA | OSLC | WS-I