Alain,

I am hoping to do some work with XForms and SVG and have been looking at
the current XSLTForms SVG examples. I noticed that, since rev. 595 of
XSLTForms, none of the SVG examples work in Firefox. The reason seems to be
the changes made to the fallback identity template in xsltforms.xsl.

In the latest revision, if lines 1203-1228[1] are reverted back to the
template used prior to rev. 595, then the SVG examples will work in Firefox:

<xsl:template xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
match="node()|@*" priority="-2">
    <xsl:param name="appearance" select="@appearance"/>
    <xsl:param name="parentworkid"/>
    <xsl:param name="workid" select="concat(position(),'_',$parentworkid)"/>
    <xsl:copy>
        <xsl:apply-templates select="@*"/>
        <xsl:apply-templates select="node()">
            <xsl:with-param name="parentworkid" select="$workid"/>
            <xsl:with-param name="appearance" select="$appearance"/>
        </xsl:apply-templates>
    </xsl:copy>
</xsl:template>

Is there a reason not to use this more generic template? I tested on a
range of browsers and did not notice any immediate issues.

Thanks again!
Tim

[1]
https://github.com/AlainCouthures/xsltforms/blob/master/build/xsltforms.xsl#L1203


--
Tim A. Thompson
Metadata Librarian (Spanish/Portuguese Specialty)
Princeton University Library
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

Reply via email to