Quantcast
Channel: SCN : Unanswered Discussions - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 3719

DataServices and the XML Structure

$
0
0

Hello Fellow Professionals,

 

I am trying to create with DataServices 4.1 the following structure

 

Target XML file (this structure is what I would like to have)

++++++++++++++++++++++++++++++++++++++++++++++

<items>

<item primaryKey="039020194" owner="111" >

<property  TypeOwner="112">

<value>153001</value>

</property>

<property TypeOwner="112">

<value>93</value>

</property>

</item>

</items>

+++++++++++++++++++++++++++++++++++++++++++++++

In my DF I have a source being a table and in between I have a row generation and a Query for mapping my target is a XML file

First.PNG

For some reason when trying to produce this I end up in DataServices

mapping nested schema's and columns beneath it.

Second.PNG

The following below is the result (This structure is what I end up getting as result)

++++++++++++++++++++++++++++++++++++++++++++++++

<ITEMS>

<ITEM>

<PRIMARY_KEY>039020194</PRIMARY_KEY>

<OWNER>111</OWNER>

<PROPERTY>

<TYPE_OWNER>112</TYPE_OWNER>

<VALUE>93</VALUE>

</PROPERTY>

</ITEM>

<ITEMS>

++++++++++++++++++++++++++++++++++++++++++++++++

 

I have gone trough the reference guide and the technical manual. I did find how to create nested schema's and Parent child relation ship but I cannot find anything about this specific subject nor any posts or information which can show more flexibility in the structure of the target XML file using BODS.

 

 

Any thoughts ? Ideas ?

Am I doing something wrong ?

Is it even possible in Data Services to get the XML structure which I would like to have ?


Viewing all articles
Browse latest Browse all 3719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>