Request clarification before answering.
Hi Anthony!
And what's the problem?
Just switch context for source subnodes one level up and map to target subnode/attribute.
Regards, Evgeniy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
For target fields:
Demande_Mesures_PRM - > Demande_Mesures_PRM (direct mapping)
Constant(1) -> Puissances_Souscrites
Puissance_Souscrite (Context - Demande_Mesures_PRM) -> Puissance_Souscrite
Classe_Temporelle -> Classe_Temporelle (direct mapping)
Regards, Evgeniy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
It should work even if you have multiple Demande_Mesures_PRM nodes.
Regards, Evgeniy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Actually the result is here :

The second occurrence don't map value.
When i try something else i've got this error :
Cannot create target element /Demande_Mesure/Demande_Mesures_PRM[2]/Puissances_Souscrites/Puissance_Souscrite. Values missing in queue context. Target XSD requires a value for this element, but the target-field mapping does not create one. Check whether the XML instance is valid for the source XSD, and whether the target-field mapping fulfils the requirement of the target XSD
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I probably miss something.
For "Classe_Temporelle", i use the normal Context -> "Puissances_Souscrites"
For subnode "Puissance_Souscrite", i use the context level up like as you said -> "Demande_Mesures_PRM"
And for the node "Puissance_Souscrites", i use the Context -> "Demande_Mesures_PRM".
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.