This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 22955

Summary: Passing parameters to XSLT transformers
Product: xml Reporter: _ lkramolis <lkramolis>
Component: XSLAssignee: issues@xml <issues>
Status: NEW ---    
Severity: blocker Keywords: UI
Priority: P4    
Version: 3.x   
Hardware: All   
OS: All   
URL: http://xml.netbeans.org/tools/user/xslt_execution.html
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 32050    

Description _ lkramolis 2002-04-30 09:55:21 UTC
From users@xml.netbeans.org mailing list:

There should be a way to add parameters to the
XSLT transformer. For example, see

    javax.xml.transform.Transformer.setParameter
(String name, Object value)

I have found that for all but the most trivial of
transformations, parameters are required.

Suggestions:
    - default to no parameters,
    - make it easy to add one or more param
name-value pairs,
    - have a way of making the parameters "sticky"
so that you can run transformations repeatedly
with the same parameter settings.

--Craeg Strong
Comment 1 _ pkuzel 2002-06-03 12:28:22 UTC
Let these are considered while planning next release.
Comment 2 Marek Grummich 2002-07-19 16:14:08 UTC
Target milestone was changed from not determined to TBD
Comment 3 _ pkuzel 2003-03-14 19:28:26 UTC
Another appoach how can a user parametrize XSLT script is to use
configuration document accesed by document() XPath function.