Florian B
unread,Jun 12, 2009, 6:33:38 AM6/12/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Enterprise Labs
Cyrus, guys,
I'm reading the documentation but I'm not able to find a way to parse
a JavaScript variable into an XSL variable. I don't even know if
that's possible because the XSL is processed first I think and after
that the JavaScript.
I need the dest_lang variable from the drop down list or from the
cookie to transform it into a xsl variable to be able to use it
anytime I want it in the XSLT.
Could someone help me with the code.
I want either:
<script......
dest_lang_var= cookie (dest_lang)
document.write(.....<xsl variable " + variable from javascript+....</
script>
or
<xsl variable =.... <script...... print variable .... </script> /
>
I don't know how to do it, I do know what I want to achieve.