1.1 --- a/XSLForms/XSL/Extract.xsl Sun Sep 09 18:12:37 2007 +0000
1.2 +++ b/XSLForms/XSL/Extract.xsl Sun Sep 09 18:12:49 2007 +0000
1.3 @@ -1,6 +1,6 @@
1.4 <?xml version="1.0"?>
1.5 <!--
1.6 -Copyright (C) 2005 Paul Boddie <paul@boddie.org.uk>
1.7 +Copyright (C) 2005, 2007 Paul Boddie <paul@boddie.org.uk>
1.8
1.9 This program is free software; you can redistribute it and/or modify it under
1.10 the terms of the GNU Lesser General Public License as published by the Free
1.11 @@ -28,7 +28,7 @@
1.12 <!-- Start at the top, finding only the specified element. -->
1.13
1.14 <xsl:template match="/">
1.15 - <xsl:apply-templates select="//*[@template:id=$element-id]"/>
1.16 + <xsl:apply-templates select="//*[@template:section=$element-id]"/>
1.17 </xsl:template>
1.18
1.19