| | |
Parse JavaScript Variable to a XSLT Variable
![]() |
•
•
Join Date: Jun 2009
Posts: 1
Reputation:
Solved Threads: 0
Hi Guys!
I need help with something that I can't figure it out on my own.
I'm working with an XSLT stylesheet that constructs some URLs that are finally presented as an html page. I want to add to one of those URL a variable that I know how to create using JavaScript (it's the value from a drop down list and it's also stored in a cookie).
How should the code look like (I'll give my opinion below) ; and more important, is that possible? Isn't the XSLT parsed first and only after the JS, does the Javascript variable exists so to parse it in a XSLT variable?
Here is what I was thinking:
<xsl:variable name="my_var"><..javascript variable..></xsl:variable>
I need help with something that I can't figure it out on my own.
I'm working with an XSLT stylesheet that constructs some URLs that are finally presented as an html page. I want to add to one of those URL a variable that I know how to create using JavaScript (it's the value from a drop down list and it's also stored in a cookie).
How should the code look like (I'll give my opinion below) ; and more important, is that possible? Isn't the XSLT parsed first and only after the JS, does the Javascript variable exists so to parse it in a XSLT variable?
Here is what I was thinking:
<xsl:variable name="my_var"><..javascript variable..></xsl:variable>
![]() |
Similar Threads
- runtime error 91 object variable or With block variable not set (Visual Basic 4 / 5 / 6)
- 'Object variable or With block variable not set' Error (ASP.NET)
- How can Introduce Javascript while running xslt (XML, XSLT and XPATH)
- Word 2007 error 91 Object variable or With block variable not set (Windows Software)
- Object variable or With block variable not set (Visual Basic 4 / 5 / 6)
- VB.NET Web service using COM component - "Object variable or With block variable ..." (VB.NET)
- object variable or with block variable not set (Community Introductions)
Other Threads in the XML, XSLT and XPATH Forum
- Previous Thread: Conditional CDATA
- Next Thread: XSLT Help
| Thread Tools | Search this Thread |
api blogger blogging code delete development dynamiccreationofnvariablesinxslt error firstthreecharacterofastringrequired flipbook gdata google html include java link linspire linux microsoft news node openoffice overwrite precedence programming rss standards swf template transform variable w3c web xml xmlnotloading xmlonserver xsl xslt





