# HG changeset patch # User paulb # Date 1128183919 0 # Node ID 0bb446b55d084424143b39cf7726fd4c07865c1d # Parent 8b1d37dd5dd9793c42b1e2f3e244f624f100c4e0 [project @ 2005-10-01 16:25:19 by paulb] Introduced attribute replacement so that name and value attributes may be specified in the template but replaced in the output with the generated attribute values. diff -r 8b1d37dd5dd9 -r 0bb446b55d08 XSLForms/XSL/PrepareMacro.xsl --- a/XSLForms/XSL/PrepareMacro.xsl Sat Oct 01 16:24:46 2005 +0000 +++ b/XSLForms/XSL/PrepareMacro.xsl Sat Oct 01 16:25:19 2005 +0000 @@ -7,7 +7,8 @@ - + + {template:this-attribute()} {$this-value} @@ -18,7 +19,8 @@ - + + ={template:this-element()} @@ -28,7 +30,8 @@ - + + {template:new-attribute('')} @@ -41,7 +44,8 @@ - + + @ = ../@