cancel
Showing results for 
Search instead for 
Did you mean: 

XML Headerfields and Graphical Mapping

Former Member
0 Kudos

Hi,

does anyone know how to add XML Header fields / -lines using the Graphical Mapping to get a result like this:

<?xml version="1.0" encoding="ISO-8859-1"?>

<?soxtype urn:x-commerceone:document:com:commerceone:XCBL30:XCBL30.sox$1.0?>

<Order>

<OrderHeader>

<OrderNumber>

With the Graphical Mapping mapping starts with the tag <Order>. XI automatically adds the standard header line <?xml version=....>. But how to define additional header lines like the line <?soxtype urn:....> ?

Any ideas appreciated.

Best regards,

Karlheinz

Accepted Solutions (1)

Accepted Solutions (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Write a Sepaarte Mapping like java mapping that does this.

The interface mapping will use 2 mappings,

1 . graphical --> This will add do the actual mapping.

2. Java --> The output ofthe graphical is the input to this mapping and it adds the correspodning header field as you want.

Can you provide more details on the end to end flow?

Regards

Bhavesh

Answers (1)

Answers (1)

justin_santhanam
Active Contributor
0 Kudos

Karlheinz ,

Have a look at the below weblog :

/people/stefan.grube/blog/2007/02/02/remove-namespace-prefix-or-change-xml-encoding-with-the-xmlanonymizerbean

Best regards,

raj.