[xsl] passing variable from xsql to xsl

Subject: [xsl] passing variable from xsql to xsl
From: longjohn <longjohn@xxxxxxxxxxxx>
Date: Mon, 18 Mar 2002 16:04:22 +0100
Hi!
I'm using a DB Oracle to develop a dynamic web site based on XML.
I'm using a servlet to call xsql pages. Every sql page contains the source-path of a xsl stylesheet. I want to use the same xsl stylesheet to rapresent pages with different languages. The problem is the following: how can i pass the param 'language' from the xsql to xsl?


example : BROWSER -> http://....../servlet?op:2,filexsql:/index.xsql?lang:fr (or ....lang:en , lang:de , etc)
index.xsql contains '<?xml-stylesheet ........ href="..../index.xsl"?>
-> how can i pass lang:fr (lang:en , lang:de , etc) to index.xsl ?


Thanks a lot !


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread