After manually converting a number of WMC files to OWS Context I 
convinced myself that it would be easier to just write a stylesheet to 
do the job for me. As usual, the XSL took longer to write than expected, 
but it was much more satisfying.

You can try out the stylesheet yourself, it is incorporated into 
Mapbuilder's codebase at:
http://svn.codehaus.org/mapbuilder/trunk/mapbuilder/lib/tool/xsl/Wmc2OwsContext.xsl

To run, from a linux command line:

xsltproc 
http://svn.codehaus.org/mapbuilder/trunk/mapbuilder/lib/tool/xsl/Wmc2OwsContext.xsl
 
YourWMC.xml > NewOWSContext.xml

If you find any bugs, please report them in 
http://jira.codehaus.org/browse/MAP, and let me know you have reported them.

-- 
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

Reply via email to