[xsd-users] (Generic) CityGML parsing

Boris Kolpackov boris at codesynthesis.com
Mon Jul 8 09:22:51 EDT 2013


Hi Olivier,

Olivier Tournaire <olitour at gmail.com> writes:

> I am wondering if there is a way to parse à CityGML file in a "generic"
> fashion. What I mean by "generic" is without any prior knowledge on thé
> file content.
> 
> For instance, is there a way to iterate over all elements of a
> CityModelType, and for each of them, to iterate over all their 
> sub-elements?

Use DOM? If you want both "generic" and statically-typed access,
(and go back and forth) then the DOM association feature might
be what you are looking for.

Boris



More information about the xsd-users mailing list