Crane's UBL Codex Stylesheets

$Date: 2006/11/08 06:14:09 $(UTC)


Table of Contents

1. Introduction
2. Engagement
3. Table Codex - CraneUBLCodexTable.xsl
3.1. CraneUBLCodexTableNoEndRows.xsl
Bibliography

1. Introduction

This is the first of a set of visualization stylesheets for UBL instances.

2.  Engagement

These are XSLT stylesheets producing HTML renderings of an instance. To produce a standalone HTML result, use any XSLT 1.0 processor to act on the instance and render the result.

To see results in an XSLT-enabled browser use stylesheet association [Assoc] one can add an XML processing instruction at the start of the XML document, and then drag or open that XML document in the browser to engage the transformation:

<?xml-stylesheet type="text/xsl" href="..relative.uri.to.stylesheet.."?>

Some of these XSLT stylesheets engage CSS stylesheets in the end result. One can tailor these properties as desired by modifying the CSS stylesheet without changing the XSLT stylesheet. Be sure that the CSS stylesheet is in the appropriate subdirectory for the visualization to find it, or modify the XSLT stylesheet for the end result to accurately point to the required location.

3.  Table Codex - CraneUBLCodexTable.xsl

<?xml-stylesheet type="text/xsl" href="CraneUBLCodexTable.xsl"?>

This is a tabular presentation of the information items, with a row for each ABIE and BBIE. ABIE rows are highlighted by having a gray background.

Note that this rendering depends on the presence of the CraneUBLCodexTable.css CSS stylesheet for the rendering properties.

3.1.  CraneUBLCodexTableNoEndRows.xsl

<?xml-stylesheet type="text/xsl" href="CraneUBLCodexTableNoEndRows.xsl"?>

This is a specialization of CraneUBLCodexTable.xsl that does not show the end rows for ABIE elements.

Bibliography