Fix image support. If images are missing, this will now also cause the
[Samba/gebeck_regimport.git] / docs / xslt / find-image-dependencies.xsl
blobf658369145f7383b27295bf678025f0a8cb78a9d
1 <?xml version='1.0'?>
2 <!--
3 Find the image dependencies of a certain XML file
4 (C) Jelmer Vernooij 2004
5 -->
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>
14 </xsl:template>
16 <xsl:template match="text()"/>
17 <xsl:template match="*">
18 <xsl:apply-templates/>
19 </xsl:template>
20 </xsl:stylesheet>