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 - Passing parameters to XSLT transformers
Summary: Passing parameters to XSLT transformers
Status: NEW
Alias: None
Product: xml
Classification: Unclassified
Component: XSL (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@xml
URL: http://xml.netbeans.org/tools/user/xs...
Keywords: UI
Depends on:
Blocks: 32050
  Show dependency tree
 
Reported: 2002-04-30 09:55 UTC by _ lkramolis
Modified: 2007-09-25 01:34 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.