Skip to content

Commit a2ea7ea

Browse files
author
Sanders Kleinfeld
committed
For XSLT 1.0 compatibility, do not use @select on xsl:attribute
1 parent 8519ed5 commit a2ea7ea

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

htmlbook-xsl/xrefgen.xsl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@
2929
</xsl:variable>
3030
<xsl:copy>
3131
<xsl:apply-templates select="@*[not(name(.) = 'href')]"/>
32-
<xsl:attribute name="href" select="$calculated-output-href"/>
32+
<xsl:attribute name="href">
33+
<xsl:value-of select="$calculated-output-href"/>
34+
</xsl:attribute>
3335
<xsl:choose>
3436
<!-- Generate XREF text node if $autogenerate-xrefs is enabled -->
3537
<xsl:when test="($autogenerate-xrefs = 1) and ($is-xref = 1)">

0 commit comments

Comments
 (0)