Blog Posts Process Management Service Oriented Architecture (SOA)

Create Delimited String from XML Nodes and Vice Versa in SOA 12c by Pranav Davar

Blog: PaaS Community

image

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 “,”
    Value1,Value2,Value3 
Sample-2– Delimiter as “|”
    Value1|Value2|Value3

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.

XML Example

<root xmlns=”http://test.com/sample/xml”&gt;

  <Values>

    <value>Value1</value>

    <value>Value2</value>

    <value>Value3</value>

  </Values>

</root>

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.

PaaS Partner Community

For regular information on Oracle PaaS become a member in the PaaS (Integration & Process) Partner Community please register here.

clip_image003 Blog clip_image005 Twitter clip_image004 LinkedIn image[7][2][2][2] Facebook clip_image002[8][4][2][2][2] Wiki

Technorati Tags: SOA Community,Oracle SOA,Oracle BPM,OPN,Jürgen Kress

Leave a Comment

Get the BPI Web Feed

Using the HTML code below, you can display this Business Process Incubator page content with the current filter and sorting inside your web site for FREE.

Copy/Paste this code in your website html code:

<iframe src="https://www.businessprocessincubator.com/content/create-delimited-string-from-xml-nodes-and-vice-versa-in-soa-12c-by-pranav-davar/?feed=html" frameborder="0" scrolling="auto" width="100%" height="700">

Customizing your BPI Web Feed

You can click on the Get the BPI Web Feed link on any of our page to create the best possible feed for your site. Here are a few tips to customize your BPI Web Feed.

Customizing the Content Filter
On any page, you can add filter criteria using the MORE FILTERS interface:

Customizing the Content Filter

Customizing the Content Sorting
Clicking on the sorting options will also change the way your BPI Web Feed will be ordered on your site:

Get the BPI Web Feed

Some integration examples

BPMN.org

XPDL.org

×