Support HTML @background

This commit is contained in:
Eric van der Vlist 2012-05-04 19:57:24 +02:00
parent 94d335170f
commit 4473ad6e15
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
<xsl:template match="link[@rel='stylesheet']/@href|img/@src|script/@src|embed/@src">
<xsl:template match="link[@rel='stylesheet']/@href|img/@src|script/@src|embed/@src|@background">
<xsl:attribute name="{name(.)}">
<xsl:variable name="abs" select="substring-before(concat(resolve-uri(., $base), '#'), '#')"/>
<xsl:variable name="local-name" select="$index/resource[(uri, same-as) = $abs][1]/local-name"/>