[Xsltforms-support] Annoying carriage return in rev 471 and newer
Brought to you by:
alain-couthures
From: Grégoire C. <gco...@gm...> - 2011-01-03 23:51:54
|
Hi! First, happy new year to all! Second, there's an annoying carriage return generated in XSLTForms rev 471 and above. It is in: <xsl:when test="$appearance = 'span'"> <span> <xsl:call-template name="genid"/> <xsl:call-template name="comunLabel"/> <xsl:choose> <xsl:when test="count(./node()) > 0"><xsl:apply-templates/> </xsl:when> <!-- <xsl:otherwise><xsl:text/></xsl:otherwise> --> </xsl:choose> * <xsl:text> </xsl:text>* </span> </xsl:when> As can be seen here, this character is always generated, even when you specify a label (and this breaks my form's layout). Moreover it seems redundant with the added "otherwise" test in "trigger-submit.xsl", which adds a carriage return if the xforms:label tag is missing. Grégoire PS : thank you Alain for the quick fix in rev 474. |