I have an input xml specification and an output specification.
they both are basically the same but i split a couple of fields on the way.
and i use the Mapper to do this.
my specifications all work well and validate as they should
my xml is as follows
root
GoodsIN
somedata
/goodsin
goodsout
somedata
/goodsout
/root
i have specified in the doc specs that the root is in order of ONE. therefore the document can only contain Either goods in or goods out.
But when i use the mapper it generates a goods in and goods out ( if i supply goods in info, the goods out is just left blank).
because of this, later along the line, this doenst conform to the outbound spec as it should only have one element .
what am i doing wrong.
they both are basically the same but i split a couple of fields on the way.
and i use the Mapper to do this.
my specifications all work well and validate as they should
my xml is as follows
root
GoodsIN
somedata
/goodsin
goodsout
somedata
/goodsout
/root
i have specified in the doc specs that the root is in order of ONE. therefore the document can only contain Either goods in or goods out.
But when i use the mapper it generates a goods in and goods out ( if i supply goods in info, the goods out is just left blank).
because of this, later along the line, this doenst conform to the outbound spec as it should only have one element .
what am i doing wrong.