]> rtime.felk.cvut.cz Git - edu/xsl.git/blob - getlinks.xsl
Fixed when called from symlinked directory
[edu/xsl.git] / getlinks.xsl
1 <?xml version='1.0'?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3                 xmlns:date="http://exslt.org/dates-and-times"
4                 xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0"
5                 exclude-result-prefixes="date"
6                 version="1.0">
7
8   <!-- Print ulink parameters (to use by processing tools e.g. copy linked PDFs to web) -->
9   <xsl:template match="ulink">
10     <xsl:value-of select="@url"/>
11     <xsl:text>
12     </xsl:text>
13   </xsl:template>
14   <xsl:template match="imagedata">
15     <xsl:value-of select="@fileref"/>
16     <xsl:text>
17     </xsl:text>
18   </xsl:template>
19   <xsl:template match="inlinegraphic">
20     <xsl:value-of select="@fileref"/>
21     <xsl:text>
22     </xsl:text>
23   </xsl:template>
24
25   <xsl:template match="text()">
26   </xsl:template>
27
28   <xsl:output method="text" encoding="UTF-8" />
29 </xsl:stylesheet>