1.1 --- a/XSLForms/XSL/QtDesigner.xsl Tue Nov 08 18:32:55 2005 +0000
1.2 +++ b/XSLForms/XSL/QtDesigner.xsl Tue Nov 08 18:33:26 2005 +0000
1.3 @@ -147,7 +147,7 @@
1.4 <!-- Container widgets. -->
1.5
1.6 <xsl:template match="widget[@class='QFrame']">
1.7 - <div>
1.8 + <div xmlns="http://www.w3.org/1999/xhtml">
1.9 <xsl:variable name="name-prop" select="property[@name='name']"/>
1.10 <xsl:attribute name="template:element"><xsl:value-of select="$name-prop/cstring/text()"/></xsl:attribute>
1.11 <xsl:apply-templates select="property[@name='geometry']"/>
1.12 @@ -252,7 +252,7 @@
1.13 <xsl:attribute name="template:selector-field"><xsl:value-of select="$field-name"/></xsl:attribute>
1.14 </xsl:otherwise>
1.15 </xsl:choose>
1.16 - <xsl:attribute name="name"><xsl:value-of select="$name-prop/cstring/text()"/></xsl:attribute>
1.17 + <xsl:attribute name="name"><xsl:value-of select="$field-name"/></xsl:attribute>
1.18 <xsl:attribute name="value"><xsl:value-of select="$value-prop/string/text()"/></xsl:attribute>
1.19 </input>
1.20 </xsl:template>