RE: dynamic # of columns and column ordering
> I have to build a page that the user can set preferences for > what columns he wants to see and in what order. > > Can this be done purely with XSLT? No: you'll need some code, if only to invoke the transformations. You don't say whether the preferences are set in advance as part of a user profile, or if you want to user to be able to change the appearance of the screen by clicking on buttons. You don't say whether you want to do things client-side or server-side, or what constraints there are on browser versions. These constraints have a major influence on the chosen design. Writing a parameterized stylesheet to handle lots of variations or presentation can be tricky; an alternative to consider is to generate a new stylesheet each time the user selects a different presentation. Mike Kay 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