cancel
Showing results for 
Search instead for 
Did you mean: 

Create attribute xsi:type

Former Member
0 Kudos
257

Hello,

We need to put an attribute xsi:type (xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance) in an xml document via a mapping. However it is not allowed to create an attribute 'type' of this namespace via XMLSchema. So we can not easily fill it via an XI Mapping.

Does anyone have an idea on how to tackle this problem?

Greetings,

Bart

Accepted Solutions (0)

Answers (1)

Answers (1)

udo_martens
Active Contributor
0 Kudos

Hi Bart,

it is easy to solve with XSLT. Just declare a namespace / prefix in element stylesheet and write down like

<myElement xsi:type="myValue">...</myElement>

Regards, Udo