[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSLT Spec Problem

Subject: Re: XSLT Spec Problem
From: "Jon Smirl" <jonsmirl@xxxxxxxxxxxx>
Date: Sat, 24 Jul 1999 21:15:20 -0400
xslt multiple modes
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.