diff options
author | Shaun McCance <shaunm@gnome.org> | 2015-07-05 09:45:56 -0400 |
---|---|---|
committer | Shaun McCance <shaunm@gnome.org> | 2015-07-05 09:45:56 -0400 |
commit | 4d0b2e1a02f34cb73c2bcd2e5796f752e1577df4 (patch) | |
tree | 2117d86846cfaba303305fca7a97ee506935a3f0 /xslt | |
parent | 9ed7b7f884b8f30293900cfcb487d262706f0ebe (diff) | |
download | yelp-tools-4d0b2e1a02f34cb73c2bcd2e5796f752e1577df4.tar.gz |
yelp-check: Support Mallard Sites for media checker
Diffstat (limited to 'xslt')
-rw-r--r-- | xslt/media.xsl | 11 |
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>
</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>
</xsl:text> </xsl:for-each> |