Re: transformers and SAX events

2003-06-18 Thread Lionel Crine
Can you be more explicit. You want to create a String from SAX events with your transformer and then send it to the next component? A transformer take SAX events on entry and return SAX events (using the SAX methods). But I you don't want to use the SAX methods, you can extends your transforme

transformers and SAX events

2003-06-17 Thread Dave Dearman
Hi everyone, I am creating my own transformer which extends abstractSAXTransformer. In the end I am left with a string of XML data. Is there a simple way to send this data in a SAX event to the next pipeline component? I do not want to have to parse it and send StartEvents, textEvents and endEve

Re: Problems with transformers XSL -> xinclude

2002-11-20 Thread Dr. Robert Spiske
Hello! The should have been: Robert - Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: <[EMAIL PROTECTED

Re: Problems with transformers XSL -> xinclude

2002-11-20 Thread Martin Holz
On Wednesday 20 November 2002 09:48, Dr. Robert Spiske wrote: > Hello! > > (Using: Cocoon 2.0/Tomcat 3.3.1/Linux) > > To ease my users writing XML I introduced a Tag: > > > Now I try to get three transformers working in a row. > The first XSLT changes the above i

Re: Problems with transformers XSL -> xinclude

2002-11-20 Thread Joerg Heinicke
ting XML I introduced a Tag: Now I try to get three transformers working in a row. The first XSLT changes the above include to: (Droped the xpointer stuff because it's not the problem) After that I call and it does not work. The third transformer is again an XSLT that should make nice HTML. N

Problems with transformers XSL -> xinclude

2002-11-20 Thread Dr. Robert Spiske
Hello! (Using: Cocoon 2.0/Tomcat 3.3.1/Linux) To ease my users writing XML I introduced a Tag: Now I try to get three transformers working in a row. The first XSLT changes the above include to: (Droped the xpointer stuff because it's not the problem) After that I call and it does not

Re: TransFormers

2002-10-16 Thread Jeff Turner
On Wed, Oct 16, 2002 at 01:57:38PM +0900, Tanmay Kumar wrote: > Hi all, > > I am finding Cocoon very useful for our project. Thanks a lot to the > developers... > I have one requirement like this. Is there any Cocoon class to address this > issue? > Input will be a DOM node, but while parsing the

TransFormers

2002-10-15 Thread Tanmay Kumar
Hi all, I am finding Cocoon very useful for our project. Thanks a lot to the developers... I have one requirement like this. Is there any Cocoon class to address this issue? Input will be a DOM node, but while parsing the DOM node all SAX events should be fir. Example: 101 World Whil

Re: Multiple XSL Transformers

2002-06-04 Thread Peter Royal
On Tuesday 04 June 2002 05:17 pm, Jason Foster wrote: > Looks like the system is simply picking up Saxon regardless of the value of > transformer-factory. > > Any suggestions as to how to proceed? All of my changes have been to > sitemap.xmap, not to cocoon.xconf (like anyone really knows the dif

Re: Multiple XSL Transformers

2002-06-04 Thread Jason Foster
Victory! Using the HEAD branch and the instructions given earlier, everything seems to be working. Someone should probably patch the webapp sitemap to make sure that the xslt transformer explicitly sets org.apache.xalan.processor.TransformerFactoryImpl ... so that the system is

Re: Multiple XSL Transformers

2002-06-04 Thread Jason Foster
Hold on a second... I was looking at the HEAD source but running a 2.0.1 installation. Let's see how things work with the HEAD... Sorry about the noise :( Jason - Please check that your question has not already been answer

Re: Multiple XSL Transformers

2002-06-04 Thread Jason Foster
OK, here's my status report... Short Version - the moment you drop saxon.jar into WEB-INF/lib, you use Saxon for everything Long Version - place a copy of saxon.jar in WEB-INF/lib - create two transformers as follows: > > pool-grow="2" pool-max=&qu

Re: Multiple XSL Transformers

2002-06-04 Thread Peter Royal
On Tuesday 04 June 2002 02:19 pm, Jason Foster wrote: > > It is possible. I used the xslt-processor-role variant on 2.0.2 a few > > months > > back to test XSLTC. It went like this (on 2.0.3, change as needed for > > SAXON) > > It's the "change as needed" that's currently the problem. All of the

RE: Multiple XSL Transformers

2002-06-04 Thread Vadim Gritsenko
> From: Jason Foster [mailto:[EMAIL PROTECTED]] > > > It is possible. I used the xslt-processor-role variant on 2.0.2 a few > > months > > back to test XSLTC. It went like this (on 2.0.3, change as needed for > > SAXON) > > It's the "change as needed" that's currently the problem. All of the >

Re: Multiple XSL Transformers

2002-06-04 Thread Jason Foster
> It is possible. I used the xslt-processor-role variant on 2.0.2 a few > months > back to test XSLTC. It went like this (on 2.0.3, change as needed for > SAXON) It's the "change as needed" that's currently the problem. All of the references I've found involve people "dropping in" the Saxon j

Re: Multiple XSL Transformers

2002-06-04 Thread Peter Royal
On Tuesday 04 June 2002 02:05 pm, Vadim Gritsenko wrote: > > From: Diana Shannon [mailto:[EMAIL PROTECTED]] > > > > On Tuesday, June 4, 2002, at 01:48 PM, Vadim Gritsenko wrote: > > > Start from TraxTransformer (search for "xslt-processor-role") in > > Cocoon > > > > 2.0.3, or TraxTransformer (se

RE: Multiple XSL Transformers

2002-06-04 Thread Vadim Gritsenko
> From: Diana Shannon [mailto:[EMAIL PROTECTED]] > > > On Tuesday, June 4, 2002, at 01:48 PM, Vadim Gritsenko wrote: > > > Start from TraxTransformer (search for "xslt-processor-role") in Cocoon > > 2.0.3, or TraxTransformer (search for "transformer-factory") in Cocoon > > 2.1; and follow from

Re: Multiple XSL Transformers

2002-06-04 Thread Diana Shannon
On Tuesday, June 4, 2002, at 01:48 PM, Vadim Gritsenko wrote: > Start from TraxTransformer (search for "xslt-processor-role") in Cocoon > 2.0.3, or TraxTransformer (search for "transformer-factory") in Cocoon > 2.1; and follow from there. Does this mean it's possible, Vadim, or that Jason shou

RE: Multiple XSL Transformers

2002-06-04 Thread Vadim Gritsenko
> From: Jason Foster [mailto:[EMAIL PROTECTED]] > > I was wondering if it is possible to have both a Xalan-based and a > Saxon-based transformer active within Cocoon simultaneously? > > I am using Xalan's support for BSF-scriptable extensions in a couple of > places and quite like it's approach.

Multiple XSL Transformers

2002-06-04 Thread Jason Foster
I was wondering if it is possible to have both a Xalan-based and a Saxon-based transformer active within Cocoon simultaneously? I am using Xalan's support for BSF-scriptable extensions in a couple of places and quite like it's approach. Unfortunately the current version of Xalan can't deal wi

SQL Generators and SQL Transformers

2002-05-20 Thread Hiloliddin Karimov
Hi All, I try retrieve data from DB (load some data from DB) before page show. How I understood, I can it by Generators and Transformers. If there is more, please tell me know ( if possible pls in detail ). 1. I try use the SQL Transformer, retrieve rows from DB and to show their in XML. It

Re: More esql, short question on transformers (oops)

2002-04-24 Thread jsexton
t no matter, I'd rather put esql in an xml file and use serverpages, if I can get it to hppen, anyway. > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, April 24, 2002 2:20 PM > > To: [EMAIL PROTECTED] > > Su

RE: More esql, short question on transformers

2002-04-24 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: More esql, short question on transformers serverpages = xsp > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 24, 2002 2:20 PM > To: [EMAIL PROTECTED] > Subject: More esql, short question on transformers >

More esql, short question on transformers

2002-04-24 Thread jsexton
What is the difference between transformer type="serverpages" and type="jsp" ? -- Jeff Sexton ODS Health Plans [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting.

Limit of three transformers with HSSFSerializer?

2002-04-24 Thread Seth Ladd
Hello again, It seems that my pipeline works with only 3 transformers. Unfortunately, I need more than that. The following pipeline: Does not work, but if I remove a transformer (for

RE: How do i disable caching for Transformers - Please help...

2002-02-12 Thread giacomo
2) 09:28.19:360 [cocoon ] (/accordia/tsttr) > HttpProcessor[8080][4]/DefaultPool: Retrieving a > com.accordia.display.transformation.StringTransformer from the pool > --- WHY IS THIS , Do this mean it was restored from Cache ? Cache and Pool are different things! Cache holds produced pipeline output, Pools hold component to pre

RE: How do i disable caching for Transformers - Please help...

2002-02-12 Thread Chitharanjan Das
]] Sent: Tuesday, February 12, 2002 9:27 AM To: [EMAIL PROTECTED] Subject: RE: How do i disable caching for Transformers... Transformers are not cacheable by default. Read Cacheable.java from the org.apache.cocoon.caching package, see TraxTransformer.java (or others implementing Cacheable) for

RE: How do i disable caching for Transformers.......

2002-02-12 Thread Chitharanjan Das
Hello All, You are right as always, There was a problem in my ant script... Transformers are not cached... Sorry for creating any confusion Regds, Chiths Vadim > From: Chitharanjan Das [mailto:[EMAIL PROTECTED]] > > How do I disable caching for the transformers?

Re: How do i disable caching for Transformers.......

2002-02-12 Thread Nicola Ken Barozzi
- Original Message - From: "Chitharanjan Das" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 12, 2002 8:01 AM Subject: RE: How do i disable caching for Transformers... > How do I disable caching for the transformers? ... > To disable

RE: How do i disable caching for Transformers.......

2002-02-12 Thread Vadim Gritsenko
Transformers are not cacheable by default. Read Cacheable.java from the org.apache.cocoon.caching package, see TraxTransformer.java (or others implementing Cacheable) for examples of cacheable transformers. Vadim > From: Chitharanjan Das [mailto:[EMAIL PROTECTED]] > > How do I disabl

How do i disable caching for Transformers.......

2002-02-12 Thread Chitharanjan Das
How do I disable caching for the transformers? I am experimenting with transformers and I am not able to remove objects cached for transformers. To disable caching I did the following.. In cocoon.xcomf, I enabled the non caching event pipeline I then restarted Cocoon and still in log

RE: How do i disable caching for Transformers.......

2002-02-12 Thread Chitharanjan Das
How do I disable caching for the transformers? I am experimenting with transformers and I am not able to remove objects cached for transformers. To disable caching I did the following.. In cocoon.xcomf, I enabled the non caching event pipeline I then restarted Cocoon and still in

Re: Transformers vs. Generators

2001-11-16 Thread Jozsa Kristof
On Thu, Nov 15, 2001 at 03:31:09PM -0500, Peter Royal wrote: > On Thursday 15 November 2001 03:13 pm, you wrote: > > Peter, exactly where had you put your own Transformers? I've tried to put > > it in my own package (not in org.apache.cocoon.transformation), jar-ed it > &

Re: Transformers vs. Generators

2001-11-15 Thread David Rosenstrauch
Also make sure that you declare this new transformer in your sitemap. DR At 09:13 PM 11/15/01 +0100, you wrote: >Peter, exactly where had you put your own Transformers? I've tried to put it >in my own package (not in org.apache.cocoon.transformation), jar-ed it >correctly, d

Re: Transformers vs. Generators

2001-11-15 Thread David Rosenstrauch
Tough call. I'd say it depends. If is going to be replaced with "John Brown, 40 Main St." then I'd say a transform. If is going to be replace with a large amount of other XML data (i.e., ) I might think about doing a generator. I don't love the concept of tran

SV: Transformers vs. Generators

2001-11-15 Thread Soren Neigaard
Sounds more like you need to put you jar in your ServletEngines classpath. -Oprindelig meddelelse- Fra: Jozsa Kristof [mailto:[EMAIL PROTECTED]] Sendt: 15. november 2001 12:14 Til: [EMAIL PROTECTED] Emne: Re: Transformers vs. Generators On Thu, Nov 15, 2001 at 12:28:30PM -0500, Peter

Re: Transformers vs. Generators

2001-11-15 Thread Peter Royal
On Thursday 15 November 2001 03:13 pm, you wrote: > Peter, exactly where had you put your own Transformers? I've tried to put > it in my own package (not in org.apache.cocoon.transformation), jar-ed it > correctly, dropped the jar into Cocoon's main WEB-INF/lib/, configured

Re: Transformers vs. Generators

2001-11-15 Thread Jozsa Kristof
er or a Generator for getting the data? > > > > I'd vote for Transformers, which looks for xml tags in a source xml like > > , and replaces it with the business data coming from EJBs, > > which gets rendered by an other (eg. the default XSLT) Transformer right >

Re: Transformers vs. Generators

2001-11-15 Thread Peter Royal
On Thursday 15 November 2001 12:58 pm, you wrote: > Can you handle situations using this approach where the data changes > meanwhile? Does the setup() runs only once at Cocoon initialization or it > runs once at every page request? setup() is called for each request. If you need to do stuff just

Re: Transformers vs. Generators

2001-11-15 Thread Jozsa Kristof
er or a Generator for getting the data? > > > > I'd vote for Transformers, which looks for xml tags in a source xml like > > , and replaces it with the business data coming from EJBs, > > which gets rendered by an other (eg. the default XSLT) Transformer right >

Re: Transformers vs. Generators

2001-11-15 Thread Peter Royal
On Thursday 15 November 2001 11:50 am, you wrote: > Okay, one piece of theoratical question. If I want to use xml data output > from a bunch of EJBs (JBoss+Cocoon stuff), shall I better write a > Transformer or a Generator for getting the data? > > I'd vote for Transformers,

Transformers vs. Generators

2001-11-15 Thread Jozsa Kristof
Okay, one piece of theoratical question. If I want to use xml data output from a bunch of EJBs (JBoss+Cocoon stuff), shall I better write a Transformer or a Generator for getting the data? I'd vote for Transformers, which looks for xml tags in a source xml like , and replaces it wit

constructing transformers in Cocoon 2

2001-09-30 Thread Liam Morley
Here's the model I've been using for Cocoon 2: Default generator. 2 transformers: 1 transformer that we've wrote that picks up on certain elements and serves information from the database (via JDBC) depending on which elements it is, and also the standard XSLT transformer.

RE: Debugging Custom Generators & Transformers

2001-08-08 Thread Kaufman, Noah
. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 07, 2001 7:26 PM To: [EMAIL PROTECTED] Subject: RE: Debugging Custom Generators & Transformers I've had this same problem before. It has to do with the wrong jar files in the wrong di

RE: Debugging Custom Generators & Transformers

2001-08-07 Thread forge
I've had this same problem before. It has to do with the wrong jar files in the wrong directories. I believe it's in the FAQ. rename xerces/xalan to 1xerces/1xalan, remove jaxp.jar and one more jar, but I can't remember which one :) On Tue, 7 Aug 2001, Kaufman, Noah wrote: > Folks: > >

RE: Debugging Custom Generators & Transformers

2001-08-07 Thread Kaufman, Noah
Folks: Actually, I guess I spoke too quickly before. Although we have gotten the latest build of Tomcat to run under Visual Age for Java, we are not able to make Beta 2 of Cocoon 2 work in this configuration. The cocoon.log file has a lot of information in it, but the error can

Debugging Custom Generators & Transformers

2001-08-07 Thread Kaufman, Noah
Folks: For an application that we're developing under Cocoon 2 using IBM's Visual Age for Java v3.5.3, we are developing a couple of custom generators and transformers. Although we can use println to write out debugging information, what we would really like to do is to be a