This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Call an XML with Parameters
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Call an XML with Parameters
- From: Ruben Inoto <ris2 at alu dot ua dot es>
- Date: Mon, 26 Feb 2001 14:12:17 +0100
- References: <3A9A110F.FB8027C2@sunaimed.univ-rennes1.fr>
- Reply-To: xsl-list at lists dot mulberrytech dot com
>
> Is it possible to call an XML source with parameters associated, like a
> CGI ?
>
> I mean something like :
>
> http://www.dummy/file.xml?param1=X¶m2=Y ?????
>
> Thanks
You can retrieve the parameters passed to the XML via URL in the XSL with
something like:
<xsl:param name="paramName">defaultValue</xsl:param>
in the beginning of the XSL (outside any xsl:template definition)
//Ruben
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list