OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
pass javascript variables to xsl:param
This page's ID:
22322
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Hi, I have to pass javascript variables to xsl:param elements. The purpose of my xsl is to select certain elements of my xml-tree. The nodename of the selected element is passed to the xml by URL-parameters. I can read the URL-parameters with javascript. But I now have to pass them the xsl:param-element so that I can use the param like this: [code] <xsl:template match="Chapter[@id]"> <xsl:if test="@id='$URL-param'"> <TR> <TD>Chapter found</TD> </TR> </xsl:if> </xsl:template> [/code] How can I do this? Thanx in advance. Greetz, Karen Edit TP: added code tags and removed slimies [small](Edited by [internallink=1424]Tyberius Prime[/internallink] on 06-25-2004 12:17)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »