| Line | |
|---|
| 1 | <?xml version="1.0" encoding="utf-8"?> |
|---|
| 2 | <!DOCTYPE xsl:stylesheet [ |
|---|
| 3 | <!ENTITY nbsp " "> |
|---|
| 4 | ]> |
|---|
| 5 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
|---|
| 6 | version="1.0"> |
|---|
| 7 | <!-- Indent the current line--> |
|---|
| 8 | <xsl:template name="indent"> |
|---|
| 9 | <xsl:param name="indentation"/> |
|---|
| 10 | <xsl:if test="$indentation > 0"> |
|---|
| 11 | <xsl:text> </xsl:text> |
|---|
| 12 | <xsl:call-template name="indent"> |
|---|
| 13 | <xsl:with-param name="indentation" select="$indentation - 1"/> |
|---|
| 14 | </xsl:call-template> |
|---|
| 15 | </xsl:if> |
|---|
| 16 | </xsl:template> |
|---|
| 17 | |
|---|
| 18 | </xsl:stylesheet> |
|---|
Note: See
TracBrowser
for help on using the repository browser.