|
Revision 1355, 0.7 kB
(checked in by mikey, 3 months ago)
|
addes support for variants in xml/xsl view engine
|
| Line | |
|---|
| 1 |
<xsl:stylesheet version="1.1" |
|---|
| 2 |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
|---|
| 3 |
xmlns:ixsl="http://www.w3.org/1999/XSL/TransformOutputAlias" |
|---|
| 4 |
xmlns:xi="http://www.w3.org/2001/XInclude" |
|---|
| 5 |
xmlns:php="http://php.net/xsl" |
|---|
| 6 |
xmlns:stub="http://stubbles.net/stub" |
|---|
| 7 |
exclude-result-prefixes="php xi ixsl stub"> |
|---|
| 8 |
|
|---|
| 9 |
<xsl:import href="copy.xsl"/> |
|---|
| 10 |
<xsl:import href="stub.xsl"/> |
|---|
| 11 |
<xsl:import href="variant.xsl"/> |
|---|
| 12 |
<xsl:namespace-alias stylesheet-prefix="ixsl" result-prefix="xsl"/> |
|---|
| 13 |
|
|---|
| 14 |
<xsl:param name="__path" select="@path"/> |
|---|
| 15 |
<xsl:param name="page" select="@page"/> |
|---|
| 16 |
<xsl:param name="lang" select="@lang"/> |
|---|
| 17 |
|
|---|
| 18 |
<xsl:template match="/"> |
|---|
| 19 |
<xsl:apply-templates select="node()"/> |
|---|
| 20 |
</xsl:template> |
|---|
| 21 |
|
|---|
| 22 |
</xsl:stylesheet> |
|---|