OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xml-dev] design problem



"Birney, Kenneth" wrote:
> 
> Heres the situation, the details of a user config file will be 
> passed to a Java servlet from  an EJB. Is it then possible to 
> pass values (e.g. text color) into an xsl document so that the
> user interface is different for each person? hope you can help!
> 
> kenny

You can in Apache XSP, by including method calls in the XSL, or you
could generate the parts of your XSL you need to format on the fly,
either by creating a file that has the appropriate formatting in it
which is then included in your overall XSL formatting if you are stream
based, or by keeping your XSL in memory as DOM and adjusting individual
nodes to suit.

Pete