[xslt] document() trouble with query string



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&amp;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&amp;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]