samples/hello.xsl
author Claudio Luck <claudio.luck@pep.foundation>
Wed, 18 Mar 2020 19:20:01 +0100
changeset 58 a218553807ab
parent 0 76005e62091d
permissions -rw-r--r--
pypackage: Merge 2.6.2
0
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
     1
<xsl:stylesheet xmlns:func="http://exslt.org/functions" xmlns:dyn="http://exslt.org/dynamic" xmlns:str="http://exslt.org/strings" xmlns:math="http://exslt.org/math" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" extension-element-prefixes="exsl func str dyn set math" xmlns:set="http://exslt.org/sets" version="1.0" xmlns:exsl="http://exslt.org/common"><xsl:output method="text"/><xsl:variable name="space" select="'                                                                                                                                                                                                        '"/><xsl:param name="autoindent" select="4"/><xsl:template match="/"><xsl:param name="_indent" select="0"/><xsl:value-of select="substring($space, 1, $_indent+0*$autoindent)"/>hello, world
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
     2
</xsl:template></xsl:stylesheet>