[OpenLayers-Dev] Format.XML question

bartvde at osgis.nl bartvde at osgis.nl
Tue Jul 8 10:15:38 EDT 2008


Hi list,

is there a way to limit getElementsByTagNameNS to a certain level?

For instance a GML FeatureCollection can have a boundedBy element on the
highest level, but also theoretically one per feature. I am only interested
in the first one, and currently I have to check the parentNode to be sure I
am dealing with the right one. A level in getElementsByTagNameNS would be a
nicer approach IMHO.

What do people think? Am I missing something?

Best regards,
Bart




More information about the Dev mailing list