February 5th, 2013, 10:11 AM
Passing parameter via urlquery / pure xml/xslt
I am quite new to xml/xslt programming...
I am using pure xml/xslt (no java, no php...) and want to pass a parameter value from xml to the xslt file.
I tried to do this via a urlquery in the xml file
and tried to get the value within the xslt file with
However, I could not obtain the value - myparam appears empty.
<?xml version="1.0" encoding="utf-8"?>
<xsl:value-of select="$myparam" />
Can such an approach work at all if no "wrapping" language is used?
P.S.: And sorry, if that is a very stupid question...
February 5th, 2013, 02:13 PM
That doesn't make sense. You have some <a> in the XML, using an XSLT attribute, to link to itself with a query string?
Originally Posted by silver_fern