[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSLT Spec Problem
Three possible fixes have been suggested for dealing with the 'label' problem: 1) Make all parameters in the template match stack visible at the lowest calling level. Right now, only the global and next to lowest level parameters are visible. If a parameter is declared at a mid level it would mask the higher level declaration until it goes out of scope. 2) Templates could allow multiple modes. So in this case the template would allow "label, no-label" as it's modes. Inside the template it can use an 'if' test to see what mode it was called in. 3) Work around it within the existing framework. This is messy and requires considerable maintenance in tracking parameters and making sure they get passed around properly. I'd vote for number 1. I don't believe any of three alternatives would impact existing sheets. 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
|