This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: NewBie Question - Dynamic XSL
- To: xsl-list at mulberrytech dot com
- Subject: Re: NewBie Question - Dynamic XSL
- From: Eric van der Vlist <vdv at dyomedea dot com>
- Date: Wed, 08 Mar 2000 12:41:47 +0100
- CC: xsl-list-digest at mulberrytech dot com
- Organization: Dyomedea
- References: <fc.005b8dcc00df68d4005b8dcc00df68d4.df6ae2@samson.shu.ac.uk>
- Reply-To: xsl-list at mulberrytech dot com
Hi Simon,
I have been playing (like probably a lot of the poster to this list ;)
with this idea before...
If you are speaking of a server based XSL transformation I don't see why
this couldn't be done expect for performance issues especially if you
are using a java based XSLT processor.
In this architecture, the operation which is taking most of the cycles
is the parsing of the XSLT sheet (which can take several seconds) and is
most of the time cached.
You have alternative ways of accommodating user preferences in a XML
architecture such as using both XSLT and a CSS stylesheet and also
storing the page layout in a separate XML file which can be user
dependent.
Hope this helps.
Eric
Simon Taylor3 wrote:
>
> Hello All
> I'm very new to XML/XSL so please forgive any ignorance !!
>
> Has anyone ever attempted or know if its possible to dynamically build XSL
> style sheets on the fly ?
>
> I'm trying to build an application that has a XML document that is static. To
> achieve presentation of the XML I'm wanting to use XSL but instead of having a
> standard static XSL stylesheet I'm wanting to connect to a database that is
> going to record user preferences and based on these, vary the content of the
> XSL stylesheet, hence varying the presentation of the XML.
>
> My backgrounds very much in ASP's and COM objects so as you can imagine I'm
> looking for some approach that mirrors this........
>
> Any ideas even a NO cannot be done would be appreciated
>
> Be lucky
> Simon.
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
--
------------------------------------------------------------------------
Eric van der Vlist Dyomedea
http://www.dyomedea.com http://www.ducotede.com
------------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list