File: imagelist.xsl

package info (click to toggle)
bsh 2.0b4-20
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 4,224 kB
  • sloc: java: 23,431; xml: 4,500; sh: 139; makefile: 24
file content (16 lines) | stat: -rw-r--r-- 388 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<xsl:stylesheet	xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

<xsl:output omit-xml-declaration="yes"/>

<xsl:template match="@*|node()">
	<xsl:apply-templates/>
</xsl:template>

<xsl:template match="img">
	<xsl:value-of select="@src"/>
	<!-- Is there a more straightforward way to get a newline here? -->
	<xsl:text>&#10;</xsl:text>
</xsl:template>

</xsl:stylesheet>