You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Sebastien Koechlin I-VISION <sk...@n-soft.com> on 2000/04/13 17:20:43 UTC

xsl:param and uri

I am trying to split an XML document into small parts,
I put <xsl:param name="p"/> in my stylesheet file, 
and call something like http://.../sample.xml?p=key

But with:
	
1. sample.xml?p=
	I get an error

2. sample.xml?p=3
	is working

3. sample.xml?p=tv
	isn't working ($p is empty)

4. sample.xml?p='tv'
	is working.

Is it possible to solve the p= problem? I would like to be able
to handle any bad request, and with this, it's not possible.

It also would be nice if parameters could work like common CGI,
and be able to handle things like :
	quotes.xml?s=13330.PA&f=sl1t1c1ghov&e=.csv


-- 
Sebastien