How to Make an XSL

From Earth Science Information Partners (ESIP)

< Interoperability of Air Quality Data Systems

How to Make an XSL

Introduction

Extensible Stylesheet Language (XSL) is a stylesheet language used for xml documents. An XSL Transformations (XSLT) is used to transform one xml document into a different desired xml. For example, pulling data from specified tags in a WCS or WMS document and putting them in the desired tags of an output ISO document. This process is fairly simple and can be used for many different applications. The following description will show how to create an XSL and use it to create multiple different ISO 19115 documents from many different original OGC Web Coverage Service (WCS) and OGC Web Map Service (WMS) xml documents. You will need a different XSLs for each desired input output resultant combination, but once the original xsl is made, it can easily be modified to accept a different input xml while outputting the same xml format.

STEP 1

Create a Mapping between your Input and Output Document.