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]
Other format: [Raw text]

How to pass variable from one file to xsl file


hello all
I want to know if there is any way by which i can pass a variable from
another file into my stylesheet(.xsl file).
I am using sablotron processor of php for xslt transformations.
I have generated a sessionid for each user and I can pass this from one
php page to other by simply session_id() function.
What i want to know if i want to pass that to xsl file how can i do
that.
In my xsl file in some matches i have given  path to some directories
like in template match ="a" i am putting href=
"./somedirectory/somefile" or template match="img" 
src="./somedirectory/imagefile" . 
I want the value of session id in place of *somedirectory*.
how can I pass that value.
thiabek



-- 
http://fastmail.fm/ - A fast, anti-spam email service.

 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]