samples/hello.xsl
author heck <heck@pep.foundation>
Thu, 04 Feb 2021 01:41:09 +0100
changeset 71 adb8b1a1d517
parent 0 76005e62091d
permissions -rw-r--r--
used a perl script[0] to convert .hgignore to .gitigore

[0] https://github.com/devzendo/hgignore-to-gitignore
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>