[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: NewBie Question - Dynamic XSL
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|