Commits

btingle  committed 739cb95

closes issue #1; converts @xlink:actuate value to lower case
@xlink:acutate uses camel case and DTD linking attribute actuate is all lower case

  • Participants
  • Parent commits 864eda1

Comments (0)

Files changed (1)

   </xsl:choose>
 </xsl:template>
 
+<xsl:template match="@xlink:actuate">
+  <xsl:choose>
+    <xsl:when test="$namespace!=''">
+      <xsl:copy>
+        <xsl:apply-templates select="@*|node()"/>
+      </xsl:copy>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:attribute name="{local-name()}">
+        <xsl:value-of select="translate(.,'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz')"/>
+      </xsl:attribute>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
 <xsl:template match="@xsi:*">
   <xsl:choose>
     <xsl:when test="$namespace!=''">