You are not logged in.

Unanswered posts



Important! This site has been replaced. All content here is read-only. Please visit our brand-new community at https://community.talend.com/. We look forward to hearing from you there!



#1 2017-03-24 12:21:30

MkMouss
Member
6 posts

MkMouss said:

TXmlMap include document field in output xml

Tags: [, schema]

Hello everybody
I'm developing a POST REST service which have to get the input xml, transform it, and call a soap service.
in_xml:
<items>
   <item>
       <id>
       <des>
       <list of characteristic>
             <char>
                  <cod>
                   .....
             </char>
       </list of characteristic>
       <list of prices>
             <price>
                   <class>
                   <value>
             </price>
             ......
       </list of prices>
   </item>
   .....
</items>             


in order to remap xml_in I thought to use textractXMLFileds looping over <list of characteristic> tag.
I've created a ListOfPrices field(type document ) where to collect the entire </list of prices> node (using GetNode flag)


my queston is: how to put ListOfPrices field inside the tXmlMap configuration?
if not possible, any other ideas?

thank you

Offline

#2 2017-03-28 11:17:39

shong
Talend Team


shong said:

Re: TXmlMap include document field in output xml

Hi 
If you just read part of the in_xml as a document, define the tree structure of document manually in the input schema of tXMLMap, and then extract the value of elements which you need in the output table of tXMLMap.

Regards
Shong


Email:shong@talend.com
Choose Talend, Enjoy Talend!
New & Event: Talend Help Center
Talend-->the global leader of open source data management and application integration solutions!

Offline

Board footer

Talend Contributor Agreement - Talend Website Privacy Policy