Re: [xsl] how to "save" a context?

Subject: Re: [xsl] how to "save" a context?
From: S Woodside <sbwoodside@xxxxxxxxx>
Date: Fri, 17 Jan 2003 21:12:51 -0500
Thanks for the info Joerg. Sablotron only supports the script extension, to access javascript. I don't know enough about javascript to know if that helps me or not, nothing immediately jumped out. So I switched AxKit over to LibXSLT which supports dyn:evaluate from the EXSLT. Too bad, I prefer sablotron's error handling.

simon

On Thursday, January 16, 2003, at 01:22 PM, Joerg Heinicke wrote:

It was said, that this is the real problem with your requirement, but can be solved by an processor specific extension function xx:evaluate($the_param). I don't know, whether Sablotron has such one.

Joerg

S Woodside wrote:
Following up on the suggestions, and the code, I have constructed an XSLT that sends the XPath for the context node through a form POST. I'm picking up the form parameter following the FAQ for form parameters. Now I have a new problem: When I try to select based on the param, sablotron borks that it needs a node set, not a string. How do I turn the string ($the_param) into a node-set so I can use it like this
<xsl:param name="AddOne">default</xsl:param>
<!--sablotron or Axkit replaces that with the proper parameter from the http post-->
[...]
<xsl:apply-templates select="$the_param"/> <!--borks-->
?
simon


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


---
     anti-spam: do not post this address publicly
www.simonwoodside.com -- 99% Devil, 1% Angel


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread