While running xslt2xforms on input.xml using Saxon, I
encountered the error:
F Cannot write an attribute when there is no open
start tag xform.xsl
file:/C:/temp/extract/xslt2xforms_0.7.6/xform.xsl 46:0
This is because line 46 in the template for
"xforms:textarea" contains the code
<div class="control"><textarea id="{generate-id(.)}"
xmlns="http://www.w3.org/2002/xforms"> <xsl:copy-of
select="@*" /></textarea>
</div>
Note that the xsl:copy-of tries to copy attributes
after inserting a text node ( ). This would
generate non-well-formed XML. I think what was intended
would be to put the   after the xsl:copy-of:
<div class="control"><textarea id="\{generate-id\(.\)\}"
xmlns="http://www.w3.org/2002/xforms"><xsl:copy-of
select="@*" /> </textarea>
</div>
Lars