After manually converting many WMC files to OWS Context I convinced myself that it would be easier to 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.xslTo 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.
No comments:
Post a Comment
Comments welcomed. Please add your name to your comment so that readers can glean an understanding of your perspective.