Cannot execute xxforms:get-request-parameter in XPL - XSLT processor
Friday, 31 December 2010 · 2 messages
SD
software developer31 Dec 2010 12:23 #
Hi,
I get the error:
XPath syntax error at ... in {...get-request-parameter('quer...}: Cannot find a matching 1-argument function named {
http://orbeon.org/oxf/xml/xforms}get-request-parameter(). *Note: external function calls have been disabled*
when I attempt to execute a pipeline with:
<p:processor name="oxf:xslt">
<p:input name="config">
<xsl:stylesheet version="2.0">
<xsl:template match="/">
<TargetURL>
<xsl:variable name="location"
select="/Configuration/XMLDB/Location/text()"/>
<xsl:variable name="name"
select="/Configuration/XMLDB/Name/text()"/>
<xsl:variable name="query"
select="xxforms:get-request-parameter('query')"/>
<xsl:value-of
select="fn:concat($location,'/',$name,'?',$query)"/>
</TargetURL>
</xsl:template>
</xsl:stylesheet>
</p:input>
<p:input name="data" href="#configuration"/>
<p:output name="data" id="Target"/>
</p:processor>Is XPL not the correct location to retrieve the HTTP request params (should I be doing it in page-flow.xml instead?)
SD
software developer31 Dec 2010 12:53 #
Hi,
My apologies - question was inadvertently posted to the wrong discussion list - this is not related to basex.
Quoted text · software developer · 2 lines
> >
Written for BaseX 6. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery