Skip to Content
0
Oct 14, 2003 at 08:10 PM

Mapping between XML

31 Views

Hi all,

I would like to use a tool to make a mapping between two XML files

(this tool has to be accessible from SAP Basis system R/3 - ABAP)

The structure of the first one could change (Client structure)

The second xml file is the target one, his structure is known

The idea is to map element by element or attributes by attributes and

if needed to indicate which conversion's function to use

very simple example :

xml source:

<CLIENT:doc>

<CLIENT:title>TITRE</CLIENT:title>

<CLIENT:description>DESCRIPTION</CLIENT:description>

<CLIENT:price>12.5</CLIENT:price>

</CLIENT:doc>

and with this wonderfull mapping tool the result could be depending on rules set :

<INTER:mydoc>

<INTER:my_title>TITRE<INTER:my_title>

<INTER:desc>DESCRIPTION<INTER:desc>

<INTER:full_price>12 , 50 ?</INTER:full_price>

</INTER:mydoc>

do you know kind of similar tool ?

thanks for your answer

best regards,

Emmanuel.