<?xml version="1.0" encoding="utf-8"?> <!-- Elements, etc., that are specific to Otago. --> <stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <!-- Format a University paper code. These normally appear in the form "SPOD 123", i.e., a space between the subject code and the paper number. --> <template name="paper" match="paper"> <common> <xsl:apply-templates select="subject-code" /> <xsl:text> </xsl:text> <xsl:apply-templates select="paper-number" /> </common> </template> <template name="subject-code" match="paper/subject-code"> <common><xsl:apply-templates /></common> </template> <template name="paper-number" match="paper/paper-number"> <common><xsl:apply-templates /></common> </template> </stylesheet>