on 09-07-2008 4:24 AM
Hi,
I created a data type with an element called TAG1 which has an attribute called attr.
I mapped an empty constant to the element and the value XXX to the attribute. I`m using graphical mapping and the XML I get is the following:
<TAG1 attr = u201CXXXu201D></TAG1>
But for reasons of volume I need to generate the XML without the explicit closing tag, such as:
<TAG1 value = u201CXXXu201D/>
Is there any possibility to achieve this with graphical mapping?
Thanks & Best Regards,
Viviana
Graphical Mapping is based on message structure.
example we do mapping between xsd's not in between xml.
So it is not possible in Graphical Mapping..XI accept and send XML message, if the XML is not wel formed you cannot then you are going to face an Error in lots of steps.
what is the size of payload in your case?
Thanks
Farooq
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> But for reasons of volume I need to generate the XML without the explicit closing tag, such as:
>
> <TAG1 value = u201CXXXu201D/>
>
> Is there any possibility to achieve this with graphical mapping?
This is not posible. The graphical mapping always creates start and end tag, even for empty elements.
You need a seperate mapping step with XSLT or Java mapping.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.