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

Re: Formal parameters for stylesheets

Subject: Re: Formal parameters for stylesheets
From: Paul Prescod <paul@xxxxxxxxxxx>
Date: Wed, 03 Feb 1999 03:36:38 -0600
Re: Formal parameters for stylesheets
Jason Diamond wrote:
> 
> A processor could actually support parameters without changing the spec. If a
> user did something like this on the command line:
> 
> xt -Dfoo=bar test.xml test.xsl

Paul Prescod wrote:
> The only one that is not gross is overriding the value of a variable from
> outside. The problem with that mechanism is that there is no way that a
> GUI or command line tool can know which variables are supposed to be
> overriden and which ones are not. They just must "trust the user." It also
> means that a GUI cannot *prompt* for the appropriate paramaters.

I should have said "constant" instead of "variable" but otherwise I think
that this paragraph addresses your proposal.

Maybe not: one could interpret what you said as "any constants that are
referred to but not defined are implicitly formal parameters." I could buy
this but I think the spec. would have to be changed to say that it is
legal to refer to parameters that are not defined. I would rather if there
was just a first-class parameter feature.

 Paul Prescod  - ISOGEN Consulting Engineer speaking for only himself
 http://itrc.uwaterloo.ca/~papresco

"Remember, Ginger Rogers did everything that Fred Astaire did,
but she did it backwards and in high heels."
                                               --Faith Whittlesey


 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.