xsl-list
[Top] [All Lists]

[xsl] variable rtf as querystring in document uri

2006-11-29 15:55:56
Hi all,

I am pondering on the possibility of the following:



<xsl:variable name="server">http://mydomain/q.php?query=</xsl:variable>
<xsl:variable name="query">
        <request id="1" />
</xsl:variable>
<xsl:variable name="url">
        <xsl:copy-of select="$server" />
        <xsl:copy-of select="$query" />
</xsl:variable>
<xsl:apply-templates select="document($url)" />



Without the variable $query it works (as it reacts properly on the
responded xml by applying the templates), but combined I loose the
'tags' of variable 'query'.

How to do it properly?

I downloaded EXSLT uri-encode and tried, but with no changes in
behaviour.

Greetings Rob




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--