2 This file is used to transform XSLT stylesheets using "macros" into
5 <xsl:stylesheet xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform"
6 xmlns:
macro=
"http://lichteblau.com/macro"
7 xmlns:
extra=
"http://lichteblau.com/extra"
9 <xsl:output method=
"xml" indent=
"no"/>
11 <xsl:namespace-alias stylesheet-prefix=
"extra" result-prefix=
"xsl"/>
13 <xsl:template match=
"@*|node()">
15 <xsl:apply-templates select=
"@*|node()"/>
19 <xsl:template match=
"macro:maybe-columns">
21 <extra:when test=
"{@test}">
22 <columns width=
"100%">
24 <xsl:apply-templates/>
30 <extra:call-template name=
"main-right"/>
35 <xsl:apply-templates/>
40 <xsl:template match=
"macro:copy-attribute">
41 <extra:if test=
"{@path}/@{@name}">
42 <extra:attribute name=
"{@name}">
43 <extra:value-of select=
"{@path}/@{@name}"/>