File: transform2.xsl

package info (click to toggle)
libcatmandu-xml-perl 0.17-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 216 kB
  • sloc: perl: 387; xml: 28; makefile: 2; sh: 1
file content (8 lines) | stat: -rw-r--r-- 296 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="text"/>
    <xsl:template match="doc">
        <xsl:text>DOC: </xsl:text>
        <xsl:value-of select="./@attr"/>
    </xsl:template>
</xsl:stylesheet>