[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: lists as parameters
I have a list of several words that I want to form into a menu. Say for example cut, copy, paste. My main stylesheets define the list of commands on the menu. I then use included stylesheets to vary the look and feel of the page. XSLT doesn't support lists as a parameter type and I can't come up with a mechanism for passing the list of commands to the included stylesheet. Does anyone have any ideas on another way to accomplish this? One idea I had is writing an extension function that would take a comma separated list and return it as a node list for use in a for-each, but it doesn't look like I can return a node-list from an extension function. Jon Smirl jonsmirl@xxxxxxxxxxxx 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
|