[Home]  [List]  [News]  [Docs]  [FAQ]  [Downloads]  [Resources]  [About]
Search :
/Home /List

list4xt : Mailing list for the XT users community.

[list4xt] Re: How to pass parameters to DOM version of XT XSLTProcessor ?

Subject: [list4xt] Re: How to pass parameters to DOM version of XT XSLTProcessor ?
From: Eric van der Vlist (vdv@dyomedea.com)
Date: 29/04/2000 - 08:51


Hi Zvi,

You can't without modifications !

This is handled within XSLTransformEngine.java by the private class
TransformImpl implementing the ParameterSet interface and also calling
sheet.process(...) with a reference to itself as a parameter set.

This class is a very limited implementation of ParameterSet :(

    public Object getParameter(Name name) {
      return null;
    }

To pass parameters to the DOM version, you should add a proper
ParameterSet implementation (through this class or a specific one) and
in the calling classes (XSLTransformEngine and the one above).

Hope this helps.

Eric
 
Zvi wrote:
>
> How to pass parameters to DOM version of XT XSLTProcessor ?
>
> 10x!
>

-- 
------------------------------------------------------------------------
Eric van der Vlist       Dyomedea                    http://high-riskmerchantaccount.com
creator                  http://merchantaccountsllc.com -              http://theladieswholunch.org
editor                   http://collectionagencymerchantaccounts.com              http://entrustbankcard.com
------------------------------------------------------------------------

-- Mailing list for the XT users community. (http://unwasteny.org) (mailto:list4xt-request@4xt.org?Subject=unsubscribe to unsubscribe)



Archive générée par hypermail 2b28 le 06/11/2001 - 11:46 CET

webmaster@4xt.org


A site designed by Dyomedea