XML Binding a field with a value ánd multiple attributes
Posted: Wed Nov 01, 2017 6:18 am
can anyone explain to me how to do handle this XML structure in binding using LANSA Integrator Studio ?
The xml file has a structure with fragments etc , and in one of them this field with attributes appears :
Field Ea has 96 attributes ( E1 up to E96 ) ánd a value ( '01')
<Ea E1="1,980" E2="1,840" E3="1,660" E4="1,920" E5="1,840" E6="1,840" E7="1,920" E8="1,940" E9="1,900" E10="1,760" E11="1,780" E12="1,920" E13="1,860" E14="1,880" E15="1,880" E16="2,020" E17="1,860" E18="1,680" E19="1,920" E20="1,840" E21="1,140" E22="0,000" E23="0,000" E24="0,000" E25="0,000" E26="0,000" E27="0,000" E28="0,000" E29="0,000" E30="0,000" E31="0,000" E32="0,000" E33="0,000" E34="0,000" E35="0,000" E36="0,000" E37="0,000" E38="0,000" E39="0,000" E40="0,000" E41="0,000" E42="0,000" E43="0,000" E44="0,000" E45="0,000" E46="0,000" E47="0,000" E48="0,000" E49="0,000" E50="0,000" E51="0,000" E52="0,000" E53="0,000" E54="0,000" E55="0,000" E56="0,000" E57="0,000" E58="0,000" E59="0,000" E60="0,000" E61="0,000" E62="0,000" E63="0,000" E64="0,000" E65="0,000" E66="0,000" E67="0,000" E68="0,000" E69="0,000" E70="0,000" E71="0,000" E72="0,000" E73="0,000" E74="0,000" E75="0,000" E76="0,000" E77="0,000" E78="0,000" E79="0,000" E80="0,000" E81="0,000" E82="0,000" E83="0,000" E84="0,000" E85="0,000" E86="0,000" E87="0,000" E88="0,000" E89="0,000" E90="0,000" E91="0,000" E92="0,000" E93="0,000" E94="0,000" E95="0,000" E96="0,000">01</Ea>
Mapping EA as a fragment or a list, gives me all the attributes as fields , but is does not give me the possibility to ge the value ( '01')
Any suggestions ?
The xml file has a structure with fragments etc , and in one of them this field with attributes appears :
Field Ea has 96 attributes ( E1 up to E96 ) ánd a value ( '01')
<Ea E1="1,980" E2="1,840" E3="1,660" E4="1,920" E5="1,840" E6="1,840" E7="1,920" E8="1,940" E9="1,900" E10="1,760" E11="1,780" E12="1,920" E13="1,860" E14="1,880" E15="1,880" E16="2,020" E17="1,860" E18="1,680" E19="1,920" E20="1,840" E21="1,140" E22="0,000" E23="0,000" E24="0,000" E25="0,000" E26="0,000" E27="0,000" E28="0,000" E29="0,000" E30="0,000" E31="0,000" E32="0,000" E33="0,000" E34="0,000" E35="0,000" E36="0,000" E37="0,000" E38="0,000" E39="0,000" E40="0,000" E41="0,000" E42="0,000" E43="0,000" E44="0,000" E45="0,000" E46="0,000" E47="0,000" E48="0,000" E49="0,000" E50="0,000" E51="0,000" E52="0,000" E53="0,000" E54="0,000" E55="0,000" E56="0,000" E57="0,000" E58="0,000" E59="0,000" E60="0,000" E61="0,000" E62="0,000" E63="0,000" E64="0,000" E65="0,000" E66="0,000" E67="0,000" E68="0,000" E69="0,000" E70="0,000" E71="0,000" E72="0,000" E73="0,000" E74="0,000" E75="0,000" E76="0,000" E77="0,000" E78="0,000" E79="0,000" E80="0,000" E81="0,000" E82="0,000" E83="0,000" E84="0,000" E85="0,000" E86="0,000" E87="0,000" E88="0,000" E89="0,000" E90="0,000" E91="0,000" E92="0,000" E93="0,000" E94="0,000" E95="0,000" E96="0,000">01</Ea>
Mapping EA as a fragment or a list, gives me all the attributes as fields , but is does not give me the possibility to ge the value ( '01')
Any suggestions ?