Closed
Bug 70369
Opened 25 years ago
Closed 23 years ago
RFE: Javascript method to initialize template parameters before transforming a document programatically.
Categories
(Core :: XSLT, defect, P5)
Core
XSLT
Tracking
()
VERIFIED
FIXED
People
(Reporter: darkmane, Assigned: keith)
References
Details
I think we should look at a way of exposing the ability to initialize template
parameters before transforming documents.
example code
doc = getDocument("http://foo/data.xml")
sheet = getDocument("http://foo/sheet.xsl")
sheet.parameters("start",1)
sheet.parameters("end",100)
doc.transform(sheet)
anyway I'm sure my example code is very different from how this would endup
working but I thin you get the idea. This would allow more generalized
stylesheets to be created.
An example of a good use for this would be an XML Slide presentation. The entire
presentation could be contained in one file then the stylesheet could be
manipulated programatically and reapplied to change the slide.
Confirming. This is a very cool idea and should defenatly be done once support
for transfomations using JS
Status: UNCONFIRMED → NEW
Ever confirmed: true
Depends on: 73492
Updated•24 years ago
|
Priority: -- → P5
Depends on: 46633
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
•