XSLT to Transform WMS GetCapabilities response to CSW Insert transaction XML
Tested with deegree-csw 2.3pre
Read the XSLT file for more information.
Attached is an example XSLT1 script to transform a WMS GetCapabilities 1.1.1 response to a CSW Insert transaction. The script is based on deegree's wms2iso19119.xsl (http://www.deegree.org/).
Note that currently it only supports WMS version 1.1.1 (<WMT_MS_Capabilities>) responses because it chokes on 1.3.0 (<WMS_Capabilities>) responses.
The attached ETL python script example automates the process of:
- capturing WMS GetCapabilities based on a list of keys and URLs in a text file
- transforming the response using the MSXSL.exe shell to Microsoft XML Parser (http://www.microsoft.com/downloads/details.aspx?familyid=2FB55371-C94E-4373-B0E9-DB4816552E41)
- loading the CSW record to a CSW server
Files:
Files:
Groups:
- Login to post comments