[xsd-users] CodeLists handling
Olivier Tournaire
olitour at gmail.com
Tue Aug 27 07:12:55 EDT 2013
Thus, all I need to do is to read the xml file containing code lists ?
2013/8/27 Boris Kolpackov <boris at codesynthesis.com>
> Hi Olivier,
>
> Olivier Tournaire <olitour at gmail.com> writes:
>
> > <gml:dictionaryEntry>
> > <gml:Definition gml:id="id1">
> > <gml:description>flat roof</gml:description>
> > <gml:name>1000</gml:name>
> > </gml:Definition>
> > </gml:dictionaryEntry>
> >
> > When I read a gml file which contains information about roof type, I can
> > retrieve, if it exists, the "1000" value. I would like to know how I can
> > make the correspondance between "1000" and "flat roof".
>
> I am not sure I see what the problem is. Given the object corresponding
> to the gml:name element, you can get the containing object (gml:Definition)
> using the _container() function. Then you can get to gml:description.
>
> Boris
>
More information about the xsd-users
mailing list