[xslt] document() trouble with query string
- From: Daniel Bibbens <dbibbens xobjex com>
- To: xslt gnome org
- Subject: [xslt] document() trouble with query string
- Date: Thu, 17 Mar 2005 01:34:58 -0800
I am noticing trouble when using select="document($url)//node()" when
$url contains a query string. For example:
<xsl:variable
name="url"
select="'http://server.com/catalog/filter.xml?departement=girl&category=toddler'"/>
<xsl:variable
name="items"
select="document($url)//node()"/>
The document() function calls the value of $url without the query
string:
http://server.com/catalog/filter.xml
instead of
http://server.com/catalog/filter.xml?departement=girl&category=toddler
This problem showed up with libxslt-1.1.13 and libxml2-2.6.18. Prior
versions ran the same XSL as expected including libxslt-1.1.12. This
and previous libraries are built from source with gcc (GCC) 3.4.2
[FreeBSD] 20040728 on FreeBSD 5.3.
Is anyone seeing anything similar?
--
Daniel Bibbens http://xobjex.com/
Apache modules and other open-source projects for XSL & RSS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]