[OpenLayers-Dev] XPATH library to support GML parsing
Cameron Shorter
cameron.shorter at gmail.com
Thu Nov 9 22:43:30 EST 2006
Mapbuilder has GML, WMC, SLD parsers which could be ported over
OpenLayers. In particular, I'm considering porting the GML parser over
to OpenLayers to provide a GML Layer.
In Mapbuilder we use XPATH for a lot of our parsing.
At other times, we use XSLT.
Xpath syntax looks something like:
selectSingleNode("//ows:BoundingBox/@crs")
The cross browser XPATH and XSLT functionality we use is provided by
http://sarissa.sf.net . I assume other ajax frameworks like Dojo and
Atom provide something similar.
While I'm not convinced that XSLT is required by OpenLayers yet, I think
XPATH would be very useful.
I suggest that OpenLayers considers including all, or part of a library
which supports XPATH. Sarissa is available under the LGPL, GPL and
Apache Software Licence.
--
Cameron Shorter
http://cameron.shorter.net
More information about the Dev
mailing list