[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xml-dev] design problem
- From: Pete Kirkham <firstname.lastname@example.org>
- To: "Birney, Kenneth" <Kenneth.Birney@spis.police.uk>,xml-dev <email@example.com>
- Date: Wed, 31 Oct 2001 15:45:25 +0000
"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!
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.