I have declared a counter variable inside a template like this.

<xsl:template match="vouchers">
                <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
                        <xsl:variable name="counter">0</xsl:variable>

compiling it MSXML under XMLSpy works great..

but using xalan throws this exception
    javax.xml.transform.TransformerException: Variable accessed before it is
bound!

Any ideas of how to workaround this problem?

----------------------------------
Esteban Gonz�lez

Departamento de Sistemas
ASSIST-CARD International


Reply via email to