3 Find the image dependencies of a certain XML file
4 (C) Jelmer Vernooij 2004
6 <xsl:stylesheet xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform" version=
"1.1">
7 <xsl:output method=
"text"/>
9 <xsl:template match=
"mediaobject/imageobject[@role=$role]">
10 <xsl:value-of select=
"$prepend"/>
11 <xsl:value-of select=
"imagedata/@fileref"/>
12 <xsl:value-of select=
"$append"/>
13 <xsl:text> </xsl:text>
16 <xsl:template match=
"text()"/>
17 <xsl:template match=
"*">
18 <xsl:apply-templates/>