[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Getting non-existing, but supplied, parameters
Hi Michael,
Thanks for your answer. See my additional comments. Cheers, Abel Michael Kay wrote: I will look into this.You might like to look at Andrew Welch's Kernow utility to see how it tackles this. (I can't remember how it does, but I remember the discussion about how it should). There are two possible ways to do it: one is to analyze the sourceThese appear to me as ways to get the defined parameters for a given stylesheet. I conclude from this that a similar mechanism from within the stylesheet itself is non-existent? I think it's better to prompt the user for parameters that are actuallyI totally agree, and we actually do so (three months back you helped me out on getting global params). But we have three situations when things can still go wrong: 1. Getting the global params is not a foolproof way. Some parameters (i.e., when defaulting to a sequence, a calculation or node set), cannot be easily displayed and as a result are ignored. Still, users may override and supply these parameters. 2. About five parameters are mandatory for each stylesheet. These parameters are not shown to the users and are fixed. When supplying a new stylesheet, it is possible that the creator has a typo. There are several ways of dealing with this, and this was one option I am investigating. 3. Users can supply there own names of parameters, thus overriding settings from the server. This is done because complex (deep) imported stylesheets may not end up showing their parameters. At present I don't think Saxon offers any interface that allows you accessI see. If anybody would know, it'd be you ;)
|
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
|