xsl-list
[Top] [All Lists]

RE: interactive: calling CGIs using document("") function

2003-04-04 01:54:17
   <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().

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.

Michael Kay
Software AG
home: Michael(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 


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



<Prev in Thread] Current Thread [Next in Thread>