[Xsltforms-support] Problem with server side transform XForms
Brought to you by:
alain-couthures
From: Benoit V. <bvi...@la...> - 2013-01-09 20:31:54
|
Hi Alain, For the new year I decided to update my r531 version of XSLTForms to the last r565. I use XSLTForms with eXist-dband do a server side transform with the Saxon XSLT engine. It seems to be an XML domain name problem in the module src/xslt/items/named-templates/group.xsl.xml : it produces html elements div, tbody, thead, ... with empty domain name instead of "http://www.w3.org/1999/xhtml". To run my application I had to replace lines 45, 78, 172 and 206 containing something like : <xsl:if test="$mainelt'g'">http://www.w3.org/2000/svg</xsl: if> with something like : <xsl:choose> <xsl:when test="$mainelt'g'">http://www.w3.org/2000/svg</ xsl: when> <xsl:otherwise>http://www.w3.org/1999/xhtml</xsl: otherwise> </xsl: choose> My forms seems to work fine now. What do you think about this fix? Best Wishes for 2013 Benoit |