Closed
Bug 73492
Opened 25 years ago
Closed 23 years ago
XSLTProcessor needs a way to have parameters initialized
Categories
(Core :: XSLT, enhancement, P5)
Core
XSLT
Tracking
()
VERIFIED
FIXED
People
(Reporter: darkmane, Assigned: keith)
References
Details
The XSLT processor lacks the capability to have parameters initialized brfore
processing. This capability is needed before work on bugs 70366 and 70369 can
continue.
Several solutions have been suggested on IRC:
1) an initialize method that takes either a NamedMap of the values or a
processorState
2) Creating more process methods that take either a NamedMap of values or a
processorState.
3) method that allows the getting and setting of parameters (Again via either a
NamedMap or ProcessorState) ie getParameters()/setParameters()
Updated•25 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
I'd suggest having an "addParameters(NamedMap* vars)" method.
| Assignee | ||
Comment 2•25 years ago
|
||
Should parameters be restricted to strings, or any "XPath Result"
(see interface ExprResult), which also includes booleans, numbers and node-sets.
| Reporter | ||
Comment 3•25 years ago
|
||
I feel that the parameters should not be limited to strings, but include numbers
and boolean as well.
I can't see a good way of specifying nodesets through any of the methods for
initialization that have been suggested (ie commandline, javascript or
stylesheet pi)
However , initially, for ease of implementation it might be best to limit it to
strings.
Updated•24 years ago
|
Priority: -- → P5
Comment 5•23 years ago
|
||
It would also be useful to be able to set a parameter using a processing
instruction. This way it would be possible to set the parameters without using
javascript on the browser.it could be something like
<?TransforMiiX param1="value" param2="value2" ?>
fixed with the branch-landing
.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•