This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Call an XML with Parameters





>
> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]