RE: [xsl] one xml file + one xsl file => user based output

Subject: RE: [xsl] one xml file + one xsl file => user based output
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Tue, 6 Aug 2002 17:19:32 +0100
> Is there a way to generate a user(group) specific html
> output by means of one xml and one xsl file?  
> Is there a way to pass parameters to xsl file, before transformation?

Yes, and yes.

Although you might want to consider an alternative, which is to have a
different stylesheet for each user group. (Common code used for each
user group can be in shared stylesheet modules that each of the
stylesheets imports).

Doing this in cocoon is rather different from doing it in a simple
servlet environment, so if you're constrained to use cocoon, I'll leave
someone else to answer that part.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


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


Current Thread