1.1 --- a/XSLForms/XSL/Schema.xsl Sun Nov 16 01:19:33 2008 +0100
1.2 +++ b/XSLForms/XSL/Schema.xsl Mon Nov 17 01:50:18 2008 +0100
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, 2006, 2007, 2008 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 @@ -51,6 +51,9 @@
1.12 <xsl:variable name="first-init" select="substring-before($other-init, ',')"/>
1.13 <xsl:variable name="remaining-init" select="substring-after($other-init, ',')"/>
1.14 <xsl:choose>
1.15 + <xsl:when test="@template:output">
1.16 + <!-- Output elements are omitted from the schema and are only used to produce output. -->
1.17 + </xsl:when>
1.18 <xsl:when test="$first-element = ''">
1.19 <xsl:call-template name="next-element">
1.20 <xsl:with-param name="first-element" select="$other-elements"/>