On Friday, April 4, 2003, at 03:54 AM, Michael Kay wrote:
<xsl:value-of
select="document('http://localhost/foo/bar.cgi?input={$some_in
put}')"/>
No problems with your design approach, but you can't use an AVT inside
an XPath expression. You need to build the URI using concat().
something like this?
<xsl:value-of
select="document(concat('http://localhost/foo/bar.cgi?input=',
$some_input))"/>
Also be aware that if you use the same URI twice, you will get the same
document back, which may not be the latest data.
Cool -- I have a workaround which is to use number math:random() from
EXSLT ain an additional dummy parameter ... supported in Daniel's
libXSLT :-)
simon
--
www.simonwoodside.com -- 99% Devil, 1% Angel
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list