On Fri, 2009-07-24 at 05:14 -0700, Frank Hamilton wrote:
>
>
> Thorsten Scherler-3 wrote:
> >
> >
> >
> > Do the following:
> >
> > alert('XSL:ROOT es : <xsl:value-of select="$root"/>');
> > var root2='<xsl:value-of select="$root"/>';
> > alert('root2 es :' +root2);
> > alert('XSL:ROOT es : <xsl:value-of select="$root"/>');
> > var root='<xsl:value-of select="$root"/>';
> > alert('root es :' +root);
> >
> > SALU2
> >
> >
>
> With this code always the alert show 'pub-id/area' , even the root
> variable is 'pub-id/area' !!!,
> I do not understand anything :)
I do not know the code but it seems that the variable got changed
meanwhile, otherwise it does not compute.
You define the var outside the function, then use it in the function.
The only logical explanation is that it got change by something in the
js.
salu2
--
Thorsten Scherler <thorsten.at.apache.org>
Open Source Java <consulting, training and solutions>
Sociedad Andaluza para el Desarrollo de la Sociedad
de la Información, S.A.U. (SADESI)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]