on 09-28-2015 11:07 AM
Hello,
I would like to map all elements/attributes from one XML message to another where the structure for both messages is the same, but one of the element values is not being populated. The problem element is called 'Description'.
It looks fine in when I 'Display queue' :
Three elements are created as expected but the value is empty for all three when I test :
From the mapping trace:
Start tag [Description]
Add attribute: [xml:lang]=[EN]
Close tag [Description]
From the message schema:
regards
Steve
change the type of the attribute from xml:lang to xsd:string (the value in red) also change the attribute name from xml:lang to possible just lang
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Many thanks to everyone who replied to my question.
I can assign the value from Description to the subnode so Stefan and Raghuraman are correct. I understand that an element with text and child nodes is valid according to the XML standard, so I'm surprised PI does not support it.
The xml namespace is usually available implicitly but is not explicitly defined in my schema which is why PI shows an error. But I don't think this is relevant.
Steve
Steve is it throwing any error or just no values are coming in the test Tab?
Because there is Red sign in the Schema,Which means there is an issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.