1.1 --- a/XSLForms/XSL/Prepare.xsl Thu Feb 02 02:48:29 2006 +0000
1.2 +++ b/XSLForms/XSL/Prepare.xsl Thu Feb 02 02:49:10 2006 +0000
1.3 @@ -40,6 +40,11 @@
1.4 xmlns:dyn="http://exslt.org/dynamic"
1.5 extension-element-prefixes="dyn">
1.6
1.7 + <!-- Add support for special namespace declarations. -->
1.8 + <xsl:for-each select="//@*[local-name() = 'expr-prefix']">
1.9 + <xsl:attribute namespace="{namespace-uri()}" name="{name(.)}"></xsl:attribute>
1.10 + </xsl:for-each>
1.11 +
1.12 <axsl:output indent="yes"/>
1.13
1.14 <!-- Include internationalisation (i18n) support if appropriate. -->
1.15 @@ -296,6 +301,13 @@
1.16
1.17
1.18
1.19 + <!-- Remove special attributes for preserving namespace prefixes used in expressions. -->
1.20 +
1.21 + <xsl:template match="@*[local-name() = 'expr-prefix']">
1.22 + </xsl:template>
1.23 +
1.24 +
1.25 +
1.26 <!-- Replicate unknown elements. -->
1.27
1.28 <xsl:template match="@*|node()">