summaryrefslogtreecommitdiff
path: root/xslt
diff options
context:
space:
mode:
authorShaun McCance <shaunm@gnome.org>2015-07-05 09:45:56 -0400
committerShaun McCance <shaunm@gnome.org>2015-07-05 09:45:56 -0400
commit4d0b2e1a02f34cb73c2bcd2e5796f752e1577df4 (patch)
tree2117d86846cfaba303305fca7a97ee506935a3f0 /xslt
parent9ed7b7f884b8f30293900cfcb487d262706f0ebe (diff)
downloadyelp-tools-4d0b2e1a02f34cb73c2bcd2e5796f752e1577df4.tar.gz
yelp-check: Support Mallard Sites for media checker
Diffstat (limited to 'xslt')
-rw-r--r--xslt/media.xsl11
1 files changed, 1 insertions, 10 deletions
diff --git a/xslt/media.xsl b/xslt/media.xsl
index 7a3b155..c6b6845 100644
--- a/xslt/media.xsl
+++ b/xslt/media.xsl
@@ -9,9 +9,6 @@
<xsl:output method="text"/>
-<xsl:param name="basename"/>
-<xsl:param name="dirname"/>
-
<xsl:template match="/*[namespace-uri(.) = ''] | /db:*">
<xsl:for-each select="
//audiodata | //imagedata | //videodata |
@@ -26,9 +23,6 @@
</xsl:when>
</xsl:choose>
</xsl:variable>
- <xsl:value-of select="$dirname"/>
- <xsl:value-of select="$basename"/>
- <xsl:text>: </xsl:text>
<xsl:value-of select="$src"/>
<xsl:text>&#x000A;</xsl:text>
</xsl:for-each>
@@ -36,10 +30,7 @@
<xsl:template match="/mal:page">
<xsl:variable name="id" select="@id"/>
- <xsl:for-each select="//mal:media | //uix:thumb | //ui:thumb | //e:mouseover">
- <xsl:value-of select="$dirname"/>
- <xsl:value-of select="$id"/>
- <xsl:text>: </xsl:text>
+ <xsl:for-each select="//mal:media[@src] | //uix:thumb | //ui:thumb | //e:mouseover">
<xsl:value-of select="@src"/>
<xsl:text>&#x000A;</xsl:text>
</xsl:for-each>