1.1 --- a/XSLForms/XSL/Prepare.xsl Wed Jan 25 00:26:48 2006 +0000
1.2 +++ b/XSLForms/XSL/Prepare.xsl Thu Jan 26 13:48:40 2006 +0000
1.3 @@ -125,7 +125,7 @@
1.4
1.5 <!-- Match special expression attributes. -->
1.6
1.7 - <xsl:template match="*[not(@template:if) and not(@template:element) and (@template:attribute or @template:value or @template:expr)]">
1.8 + <xsl:template match="*[not(@template:if) and not(@template:element) and (@template:attribute or @template:value or @template:expr or @template:copy)]">
1.9 <xsl:call-template name="enter-attribute"/>
1.10 </xsl:template>
1.11
1.12 @@ -184,6 +184,10 @@
1.13 <xsl:when test="@template:i18n">
1.14 <xsl:call-template name="translated-value"/>
1.15 </xsl:when>
1.16 + <!-- Copy the stated expression. -->
1.17 + <xsl:when test="@template:copy">
1.18 + <axsl:copy-of select="{@template:copy}"/>
1.19 + </xsl:when>
1.20 <!-- Just process the descendants. -->
1.21 <xsl:otherwise>
1.22 <xsl:apply-templates select="node()"/>