From 9e0b34a16d910d5a4d133c8666cd0cae9f5db64f Mon Sep 17 00:00:00 2001 From: Richard Lewis <richard.lewis@gold.ac.uk> Date: Fri, 7 Mar 2014 16:15:14 +0000 Subject: [PATCH] Converted opera2an XSLT to version 1.0 --- templates/opera2an.xslt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/opera2an.xslt b/templates/opera2an.xslt index 8f3bed6..22414b7 100644 --- a/templates/opera2an.xslt +++ b/templates/opera2an.xslt @@ -6,7 +6,7 @@ <!-- Feb 25 2014 --> <xsl:stylesheet - version="2.0" + version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" @@ -34,7 +34,7 @@ </xsl:template> <xsl:template match="tei:castItem"> - <TLCPerson id="{@xml:id}" href="/ontology/person/wagner.{lower-case(@xml:id)}" showAs="{@xml:id}"/> + <TLCPerson id="{@xml:id}" href="/ontology/person/wagner.{@xml:id}" showAs="{@xml:id}"/> </xsl:template> <xsl:template match="tei:title"> @@ -53,7 +53,7 @@ <xsl:template match="tei:sg"> <!-- <xsl:message><xsl:value-of select="@xml:id" />: <xsl:value-of select="tei:singer/@who" /></xsl:message> --> - <speech by="#{lower-case(tei:singer[1]/@who)}"> + <speech by="#{tei:singer[1]/@who}"> <xsl:apply-templates/> </speech> </xsl:template> -- GitLab