This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
passing variable from xsql to xsl
- From: longjohn <longjohn at katamail dot com>
- To: XSL-List at lists dot mulberrytech dot com
- Date: Mon, 18 Mar 2002 16:04:22 +0100
- Subject: [xsl] passing variable from xsql to xsl
- Reply-to: xsl-list at lists dot mulberrytech dot com
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