[jibx-users] Unmarshalling attributes of child element to a collection

2014-08-29 Thread Bhowmik, Bindul
​Hello, ​ ​I am trying to use JiBX to parse a larger XML, which includes a structure similar to the ones noted below: Schema: xs:complexType name=Parent xs:sequence xs:element name=ChildElem maxOccurs=unbounded xs:complexType xs:attribute

Re: [jibx-users] Unmarshalling attributes of child element to a collection

2014-08-29 Thread Darin Clark
You might try something like collection create-type=”java.util.ArrayList” field=”childElems” structure name=”ChildElem”value name=”ChildElemValue” style=”attribute” type=”java.lang.String”//structure /collection That is, the collection has no name, in particular, but is composed of a bunch of