Reviewing: https://[EMAIL PROTECTED]/mapbuilder-contrib/sandbox/markusin/contrib/mapbuilder/lib/tool/xsl/Caps2Context.xsl Revision 47 ---- I suspect your changes will break the OWSExplorer and contextEditor examples. I see these as eventually being deprecated, but initially we should ensure they keep working during our transition. So I suggest creating a new Capabilities2Context.xsl , ie, give it a new name. ---- Remove all reference to "selectedLayer". It is historical and I don't think it is being used any more. It is not part of the OWSContext spec. ---- FormatList/Format seems to be hard coded to image/png rather than being extracted from the Capabilities. ---- This xsl processes capabilities from WMS. As mentioned, I suspect it would not be too difficult to extend it to process WFS getCapabilities response as well. ---- It seems that you have 2 identical templates to match WMT_MS_Capabilities and WMS_Capabilities (which apparently is different syntax for different versions of WMS specs?) I suspect you could handle this more cleanly with one block and use of the OR (|) char.
-- Cameron Shorter Geospatial Systems Architect Tel: +61 (0)2 8570 5050 Mob: +61 (0)419 142 254 Think Globally, Fix Locally Commercial Support for Geospatial Open Source Solutions http://www.lisasoft.com/LISAsoft/SupportedProducts.html ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ mapbuilder-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel
