Create Delimited String from XML Nodes and Vice Versa in SOA 12c by Pranav Davar
Blog: PaaS Community
A delimited string is a string representation of data separated by a delimiter(e.g. “,”). A simple representation of the delimited string will look like.
Delimited String Examples
Sample-1– Delimiter as “,”
Sample-2– Delimiter as “|”
If we want to represent the above set of delimited values in the form of an XML document under some root and parent tag. The representation will look like this.
Sometimes we may need to convert values coming in delimited string to an xml document or vice versa. Since delimited string is similar to csv format. We can create a nxsd schema and then perform translate i.e. native to xml or xml to native within our SOA application. But in the scenarios wherein we just want to convert one delimited string to xml or recurring xml nodes to one delimited string, there we can make use of oracle xpath extension functions: Read the complete article here.
For regular information on Oracle PaaS become a member in the PaaS (Integration & Process) Partner Community please register here.