Station Details Project

This started as a self-education exercise in eXtensible Stylesheet Language (XSL) Tranformation (XSLT), where XSL is a styling language for XML that defines how data will be displayed in another format.

The aim was to create an XML-based webpage showing the details of our weather station to replace the existing hard-coded webpage. It was intended that Windows Task Scheduler would generate a daily XML metadata document from a template file.

Project Stages

The following stages were identified as key elements of the project:

Project Variables

The variables used in this project are listed below. Select a variable to view the complete XML element definition, including: the element name and description, the expected data type, the permitted values where explicitly defined, and whether the element is mandatory or optional.

The variables in the template file are replaced with the equivalent webtags provided by the PWS software. If a variable has no equivalent webtag, the variable is manually updated in the template file. If an optional variable subsequently becomes permanently unavailable, the syntax for that element in the template file is changed from <element>variable</element> to <element />.

XML Schema Definition

View the XSD diagram for this project.

Project Status

This 2020 project successfully achieved its aims and is operational. View our Station Details & Instrumentation using the Station Details Document. The project remains open for further development.

Top of page up arrow