Re: [xsl] Call an XML with Parameters

Subject: Re: [xsl] Call an XML with Parameters
From: Ruben Inoto <ris2@xxxxxxxxx>
Date: Mon, 26 Feb 2001 14:12:17 +0100


>
> 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&param2=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


Current Thread