WiscLinc subtitle
Link to related Related Documents Link to architecture Architecture

Schema Transformation

There exist several schema transformation languages. The Extensible Stylesheet Language Transformations (XSLT) and the Streaming Transformations for XML (STX) are the most widely adopted. A full description of XSLT can be found at http://www.w3.org/TR/xslt, and STX is described at http://stx.sourceforge.net. The XSLT processes XML files as a tree (DOM), which means the whole XML file needs to be loaded into computer memory in order to construct the tree. Streaming Transformations for XML (STX) is a one-pass transformation language for XML documents. STX is intended as a high-speed, low memory consumption alternative to XSLT. Since it does not require the construction of an in-memory tree, it is suitable for use in resource constrained scenarios. A brief comparison of XSLT and STX can be found at http://www.idealliance.org/papers/xmle03/slides/becker/ .

This project used Perl scripts to perform the XSLT and STX transformations. These scripts are provided below with the stylesheets used by each.

XSLT Transformation to GML3

  • Perl Script
  • Get Capabilties Stylesheet
  • DescribeFeatureType Stylesheet
  • GetFeature Stylesheet
  • STX Transformation to GML3

  • Perl Script
  • GetFeature Stylesheet

  • Schema transformation can also be written from visual tools. Major schema transformation (mapping) tools include
  • Altova Mapforce
  • Stylus Studio
  • Tiger Schema Mapper