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

list4xt : Mailing list for the XT users community.

[list4xt] Re: <xsl:param> implemented in XT ?

Subject: [list4xt] Re: implemented in XT ?
From: Cedric POTHIN (cedric.pothin@inovatel.com)
Date: 05/01/2001 - 10:54


Ok,

thank's for your response but
I tried to modified the XTTranformer
class provided in cocoon 1.8 to pass
parameters to XT processor and I get
an null pointer exception :

java.lang.NullPointerException
        at
com.jclark.xsl.tr.SheetImpl$VariableActionParser.parse(SheetImpl.java:445)
        at com.jclark.xsl.tr.SheetImpl.parseActions(Compiled Code)
        at com.jclark.xsl.tr.SheetImpl.parseActions(SheetImpl.java:852)
        at com.jclark.xsl.tr.SheetImpl$TemplateParser.parse(SheetImpl.java:72)
        at com.jclark.xsl.tr.SheetImpl.parseTopLevel(Compiled Code)
        at com.jclark.xsl.tr.SheetImpl.parseSheet(Compiled Code)
        at com.jclark.xsl.tr.SheetImpl.(SheetImpl.java:718)
        at com.jclark.xsl.tr.EngineImpl.createSheet(EngineImpl.java:19)
        at
com.jclark.xsl.dom.XSLTransformEngine.createTransform(XSLTransformEngine.jav
a:107)

The XTTranformer call the XT process like this :

 Transform transformer = new XSLTransformEngine().createTransform(sheet,
(Hashtable) params);
 transformer.transform(document, result);
 return result;

I just modified the createTransform to accept parameters ...
Is there any beter solution to do that.

Cedric

----- Original Message -----
From: "Eric van der Vlist" <vdv@dyomedea.com>
To: <list4xt@4xt.org>
Sent: Friday, January 05, 2001 10:43 AM
Subject: [list4xt] Re: <xsl:param> implemented in XT ?

> Cedric POTHIN wrote:
> >
> > Is anybody know if the tag
> >
> > <xsl:param> is implemented in XT ?
>
> Yes it is !
>
> Eric
>
> > Thanks in advance
> >
> > Cedric
> >
> > --
> > Mailing list for the XT users community. (http://mainframeforum.com)
> > (mailto:list4xt-request@4xt.org?Subject=unsubscribe to unsubscribe)
>
> --
> ------------------------------------------------------------------------
> Eric van der Vlist Dyomedea http://perfectscoremortgages.com
> http://nymerchantcashadvance.com - http://collectionagencymerchantservices.com http://creditrepairmerchantaccount.com
> ------------------------------------------------------------------------
>
> --
> Mailing list for the XT users community. (http://worldwide-extension.org)
> (mailto:list4xt-request@4xt.org?Subject=unsubscribe to unsubscribe)
>
>

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



Archive générée par hypermail 2b28 le 08/01/2001 - 11:51 CET

webmaster@4xt.org


A site designed by Dyomedea