XML to String and String to XML conversion
Use Cases Many a times, we may need to convert xml data and pass it as a string inside an XML tag. Sometimes from source, we get data which is in string format but actually is xml encoded in string format. To do so in Oracle BPEL 12c or OSB 12c we can use built in functions. XML data to String Sample input <inRoot> <t1> Hello </t1> <t2> World </t2> <t3> One </t3> </inRoot> Sample output <outRoot> <t1> <inRoot><t1>Hello</t1><t2>World</t2><t3>One</t3></inRoot> </t1> </outRoot> XSLT This can be accomplished by using the function oraext:get-content-as-string(element as node-set) . This function is really helpful when we are working on BPEL as we can use this function in ASSIGN activity or in TRANSFORM activity using XSLT . xmlns:oraext ="http://...