Thomas Bauer ha scritto: > Hi all, > > i have to parse gml files whitch have more then one elements of the same > type (maxOccurs="unbounded"). > > For examble: > > <gml:featureMember> > <test:TestFeature1 gml:id="0"> > <test:geom> > <gml:Point> > <gml:coord> > <gml:X>0</gml:X> > <gml:Y>0</gml:Y> > </gml:coord> > </gml:Point> > </test:geom> > <test:art>art1</test:testname> > <test:art>art2</test:testname> > </test:TestFeature1> > </gml:featureMember> > > It is possible to parse this files with all the attributes with the geotools > gml parser?
On geotools 2.4.x I'm sure it's not possible. On trunk things are slowly moving to support complex features, but I believe we're still not capable of parsing that xml either... Justin, cc'ed, may know better. Cheers Andrea ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users