Re: object in a transformer

2003-03-11 Thread Lionel Crine
Perhaps it would be simpler to manipulate the DOM -- to be precise the resulting XML -- with XSL rather than XSP? For now I manipulate the result object in the transformer : for (int i = 0; i <= count; i++) { try { SpecialDocument doc = result.Item(

Re: object in a transformer

2003-03-11 Thread Christian Haul
On 11.Mar.2003 -- 05:15 PM, Lionel Crine wrote: > > >Yes. Shouldn't be too big, though, unless you have enough memory. > > > >> 2/In the xsp page, haow can I get attribute from the DOM object in the > >> session ? > >> Like that : > > > >Retrieve the object and use e.g. jxpath or the dom java api

Re: object in a transformer

2003-03-11 Thread Lionel Crine
Yes. Shouldn't be too big, though, unless you have enough memory. > 2/In the xsp page, haow can I get attribute from the DOM object in the > session ? > Like that : Retrieve the object and use e.g. jxpath or the dom java api on it. I'm confused ? Here is what I understand : 1/ get the DOM from t

Re: object in a transformer

2003-03-11 Thread Christian Haul
On 11.Mar.2003 -- 04:40 PM, Lionel Crine wrote: > By the way, I have few more question > > 1/Can I put anything in the session ? Yes. Shouldn't be too big, though, unless you have enough memory. > 2/In the xsp page, haow can I get attribute from the DOM object in the > session ? > Like that :

Re: object in a transformer

2003-03-11 Thread Lionel Crine
By the way, I have few more question 1/Can I put anything in the session ? 2/In the xsp page, haow can I get attribute from the DOM object in the session ? Like that : 3/If I want the xsp generator to retreive the DOMsessionelement from my custom transfomer, should I use a resource ? At 14:5

Re: object in a transformer

2003-03-11 Thread Christian Haul
On 11.Mar.2003 -- 02:46 PM, Lionel Crine wrote: > At 14:32 11/03/2003 +0100, you wrote: > >On 11.Mar.2003 -- 02:20 PM, Lionel Crine wrote: > >> I have a pipeline in which there is my custom transformer. > >> In this transformer I have a method which access to an XMLDB and get a > >> result object.

Re: object in a transformer

2003-03-11 Thread Lionel Crine
If I understand well, this is possible. But how can I add the object to the session. I think I should do that in the transformer. Can you tell me some more ? At 14:32 11/03/2003 +0100, you wrote: On 11.Mar.2003 -- 02:20 PM, Lionel Crine wrote: > I have a pipeline in which there is my custom tr

Re: object in a transformer

2003-03-11 Thread Christian Haul
On 11.Mar.2003 -- 02:20 PM, Lionel Crine wrote: > I have a pipeline in which there is my custom transformer. > In this transformer I have a method which access to an XMLDB and get a > result object. > > I want my transformer to get the object (in a session) and get it to an xsp > page. > > Is i

object in a transformer

2003-03-11 Thread Lionel Crine
I have a pipeline in which there is my custom transformer. In this transformer I have a method which access to an XMLDB and get a result object. I want my transformer to get the object (in a session) and get it to an xsp page. Is it possible to do such a thing ? Lionel ---