File: default.xsl

package info (click to toggle)
libmagpie-perl 1.163200-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,544 kB
  • sloc: perl: 4,068; xml: 405; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 374 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:param name="testparam"/>

<xsl:template match="/hello">
    <html>
        <body>
            <h1>Hello Magpie!</h1>
            <p><xsl:value-of select="$testparam"/></p>
        </body>
    </html>
</xsl:template>

</xsl:stylesheet>