FW: LDAP Transformer with XSP page?

2003-07-02 Thread Maxime.Gheysen
ion.java:118) at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(Ac tTypeNode.java:133) -Original Message- From: Yury Mikhienko [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 7:23 AM To: [EMAIL PROTECTED] Subject: Re: LDAP Transformer with XSP page? On Tue,

Re: LDAP Transformer with XSP page?

2003-07-01 Thread Yury Mikhienko
On Tue, 1 Jul 2003 16:20:59 +0200 <[EMAIL PROTECTED]> wrote: > Is it possible to create the ldap.xml, with the ldap queries in a xsp > page? > Yes, for example: http://apache.org/xsp"; xmlns:ldap="http://apache.org/cocoon/LDAP/1.0";> String cn = request.getParameter("cn

Antw: RE: LDAP Transformer with XSP page?

2003-07-01 Thread Martin Geissler
Hello Maxime, it is possible. the xsp page has to generate the correct xml syntax for the LDAP transformer. (example at wiki) Martin >>> [EMAIL PROTECTED] Dienstag, 1. Juli 2003 16:20:59 >>> Is it possible to create the ldap.xml, with the ldap queries in a xsp page? ---

Re: Unable to get transformer handler...

2003-07-01 Thread Joerg Heinicke
each instance I want the parameters in the URI available to the xslt. The transformation works perfectly fine on the command line (with saxon), but I keep getting "Unable to get transformer handler for style/xsl/repos2rdg.xsl" as an error (with "Eception in creating Tranform Handl

Unable to get transformer handler...

2003-07-01 Thread James Cummings
rs in the URI available to the xslt. The transformation works perfectly fine on the command line (with saxon), but I keep getting "Unable to get transformer handler for style/xsl/repos2rdg.xsl" as an error (with "Eception in creating Tranform Handler"). Looking through possibl

RE: LDAP Transformer with XSP page?

2003-07-01 Thread Maxime.Gheysen
Is it possible to create the ldap.xml, with the ldap queries in a xsp page? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] .org] Sent: Tuesday, July 01, 2003 4:10 PM To: [EMAIL PROTECTED] Subject: RE: LDAP Transformer I think there must be a way other than set the

RE: LDAP Transformer

2003-07-01 Thread Maxime.Gheysen
CTED] Subject: RE: LDAP Transformer it doesn't work. As I said the filter cannot be definied as parameter in the sitemap. It returns the error [LDAPTransformer] Error in LDAP-Query: javax.naming.directory.InvalidSearchFilterException: Empty filter; It must be a bug or so... But referi

RE: LDAP Transformer

2003-07-01 Thread Maxime.Gheysen
be to set into my filter a parameter in >the sitemap, like > >But it seems that the ldap transformer has a lot of bugs. The parameter >rootdn works, password works, but both filter and serverurl doesn't >work!!! > >So the only way to filter it is to search by the attribute &qu

Re: LDAP Transformer

2003-07-01 Thread Yury Mikhienko
> I have to ways, the first would be to set into my filter a parameter in > the sitemap, like > > But it seems that the ldap transformer has a lot of bugs. The parameter > rootdn works, password works, but both filter and serverurl doesn't > work!!! > try the foll

LDAP Transformer

2003-07-01 Thread Maxime.Gheysen
it seems that the ldap transformer has a lot of bugs. The parameter rootdn works, password works, but both filter and serverurl doesn't work!!! So the only way to filter it is to search by the attribute "memberOf" in every user data. But this attribute is a DN (means not substri

Re: Using Saxon transformer together with Xalan and XSLTC

2003-06-30 Thread J.Pietschmann
Peter Velychko wrote: So there is duplicating "xmlns" attributes in XML generated by Xalan. Could it be that the AElfred parser from the saxon jar kicks in? IT is known to report namespace attributes differently than Xerces which may cause hickups in some Xalan versions (unfortunately, this is a da

Re: Using Saxon transformer together with Xalan and XSLTC

2003-06-30 Thread Peter Velychko
vel: WARN PV> NDC: PV> Category: sitemap.serializer.xhtml PV> Message:Cannot know if transformer needs namespaces attributes - assuming NO. PV> Location: org.apache.avalon.framework.logger.LogKitLogger.warn(LogKitLogger.java:159) PV>

Using Saxon transformer together with Xalan and XSLTC

2003-06-30 Thread Peter Velychko
: Category: sitemap.serializer.xhtml Message:Cannot know if transformer needs namespaces attributes - assuming NO. Location: org.apache.avalon.framework.logger.LogKitLogger.warn(LogKitLogger.java:159) Thrown: org.xml.sax.SAXException: Saxon requires an XML parser that reports the QName

SQL Transformer/Resin broken?

2003-06-23 Thread Ed Yavno
Hi All, I'm having problems trying to use something under Caucho Resin that works perfectly fine under Tomcat: SQL Transformer in Cocoon 2.0.4 deployed under Resin 2.1.8/10(same result) trying to query Oracle 8i. Both Tomcat 4.0.6 and Resin 2.1.8 use the exact same settings (see below: we

Re: Pass parameter to a transformer

2003-06-23 Thread Upayavira
Why don't you use the src attribute to pass in the XML file, much as any other transformer? Then you'd have a lot of transformers available to look at for code samples. Regards, Upayavira On 23 Jun 2003 at 16:25, Anna Afonchenko wrote: > Hi all. > I have written my own transf

Re: Pass parameter to a transformer

2003-06-23 Thread Luca Morandini
Anna Afonchenko wrote: Hi all. I have written my own transformer, that gets in an XML file as a parameter. If I declare the parameter in the transformers bit: and then call it in the pipeline: it works fine. But I wnat to pass the XMLfile name dynamically, and not when I declare the

Pass parameter to a transformer

2003-06-23 Thread Anna Afonchenko
Hi all. I have written my own transformer, that gets in an XML file as a parameter. If I declare the parameter in the transformers bit:         and then call it in the pipeline:   it works fine. But I wnat to pass the XMLfile name dynamically, and not when I declare the transformer, e.g

Re: custom transformer

2003-06-18 Thread Geert Van Damme
t the exception is thrown, and thus not do any other transformations (this is required 'cause one transformer does some FTP stuff). To make things clearer : I'm starting from an XSP using esql to fetch fields from database. When an error occurs on database level (), the current pipe

Re: custom transformer

2003-06-17 Thread Bertrand Delacretaz
Le Mardi, 17 juin 2003, à 16:09 Europe/Zurich, Martin Holz a écrit : "Geert Van Damme" <[EMAIL PROTECTED]> writes: Hi, I'm writing a custom transformer, extending the AbstractDOMTransformer. Is there a way to throw an exception from this transformer so that the error han

Re: custom transformer

2003-06-17 Thread Martin Holz
"Geert Van Damme" <[EMAIL PROTECTED]> writes: > Hi, > > I'm writing a custom transformer, extending the AbstractDOMTransformer. Is there a > way to throw an exception from this transformer so that the error handling pipeline > of the sitemap is 'act

custom transformer

2003-06-17 Thread Geert Van Damme
Hi, I'm writing a custom transformer, extending the AbstractDOMTransformer. Is there a way to throw an exception from this transformer so that the error handling pipeline of the sitemap is 'activated' ? (the transform method signature does not throw an exception). Or is the

SQL Transformer, part of xml doc in a database field.

2003-06-16 Thread Chris
SQL Transformer, part of xml doc in a database field. What if one of the fields from a select statement in an has a text field that contains a valid xml document. All the '<' and '>' characters get escaped, I would like the xml in this field to be part of the rowse

session transformer not behaving

2003-06-06 Thread Steven Cummings
ppening. I have the following fragment before the transformer: >8- You are logged in as http://apache.org/cocoon/session/1.0"; context="authentication" path="/aut

XSLT Transformer newlines

2003-06-06 Thread Orson Davis
I am converting a production environment from cocoon 1.8.2 to cocoon 2.0.4 running on tomcat/jboss3.0.4.  The problem that I am running into over and over again is that the new cocoon when generating html puts newlines/carriage returns after certain tags.  I have re-written a number of page

Re: Source Writing Transformer

2003-06-06 Thread bosspring 2
Thank you, this solution is ok. I use the LOG and see (¿?) the problem and after I modified the XSL (alta.xsl) and the message not is showed _ Charla con tus amigos en línea mediante MSN Messenger: http://messenger.microsoft.com/e

Re: Source Writing Transformer

2003-06-06 Thread Geoff Howard
after put a where format.xsl matches the output of write-source and replaces it with a success message, or whatever you want to display there. HTH, Geoff At 01:47 PM 6/5/2003, you wrote: Thank you for your attention Geoff: Th pipeline is:

Re: Source Writing Transformer

2003-06-06 Thread bosspring 2
Thank you for your attention Geoff: Th pipeline is: _ Dale rienda suelta a tu tiempo libre. Encuentra mil ideas para exprimir tu ocio con MSN Entretenimiento. http://entretenimie

Re: Source Writing Transformer

2003-06-06 Thread Geoff Howard
What is your pipeline? Geoff At 12:45 PM 6/5/2003, you wrote: I am using XML files such as database and Source Writing Transformer writing the information in this. But I have a bit problem: for example, when a new user is registered his data is saved in usuarios.xml but after Cocoon shows

Source Writing Transformer

2003-06-06 Thread bosspring 2
I am using XML files such as database and Source Writing Transformer writing the information in this. But I have a bit problem: for example, when a new user is registered his data is saved in usuarios.xml but after Cocoon shows this message: success content inserted at: usuarios insert

Translet transformer

2003-06-05 Thread Alison Meynert
Title: Translet transformer Hi, Does anyone know of a transformer component that takes translets as input?  There was some discussion on this topic recently - did anything come of it?  I am working with a program that outputs translets, and we would like to be able to plug these directly

Re: Unable to get transformer handler for stylesheets/blah.xsl

2003-06-05 Thread Steven Cummings
ewable here: >> http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=105467465417098&w=2 >> if your mail client didn't show them. >> >> Anyway, I'll give the xalan transformer a shot and see what happens, >> thanks for the tip! >> >> /S >&

Re: Unable to get transformer handler for stylesheets/blah.xsl

2003-06-04 Thread Steven Cummings
f them). They are viewable here: >> http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=105467465417098&w=2 >> if your mail client didn't show them. >> >> Anyway, I'll give the xalan transformer a shot and see what happens, >> thanks for the tip! &g

Re: Unable to get transformer handler for stylesheets/blah.xsl

2003-06-04 Thread Joerg Heinicke
'd another, which 'd a third stylesheet (I attached all three of them). They are viewable here: http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=105467465417098&w=2 if your mail client didn't show them. Anyway, I'll give the xalan transformer a shot and see what

Re: Unable to get transformer handler for stylesheets/blah.xsl

2003-06-04 Thread Steven Cummings
hird stylesheet (I attached all three of them). >They are viewable here: >http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=105467465417098&w=2 >if your mail client didn't show them. > >Anyway, I'll give the xalan transformer a shot and see what happens, t

Re: Unable to get transformer handler for stylesheets/blah.xsl

2003-06-04 Thread Steven Cummings
how them. Anyway, I'll give the xalan transformer a shot and see what happens, thanks for the tip! /S Joerg Heinicke <[EMAIL PROTECTED]> wrote: >Hello Steven, > >it's XSLTC who does give so exhaustive messages. Try to use Xalan for >this particular transformation, mayb

Re: Unable to get transformer handler for stylesheets/blah.xsl

2003-06-04 Thread Joerg Heinicke
he details from error.log: ->8- org.apache.cocoon.ProcessingException: Unable to get transformer handler for stylesheets/blah.xsl: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler at org.apache.cocoon.transfo

Unable to get transformer handler for stylesheets/blah.xsl

2003-06-04 Thread Steven Cummings
tails from error.log: ->8- org.apache.cocoon.ProcessingException: Unable to get transformer handler for stylesheets/blah.xsl: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler at org.apache.cocoon.transformation.TraxT

Re: Evaluating and working with XPointer in a Transformer

2003-06-04 Thread Bruno Dumon
On Tue, 2003-06-03 at 18:53, Stefan Pietschmann wrote: > At the moment I'm looking for a good implementation (read: jar) that > allows me to easily evaluate the XPointer expression, which means i > can jump there and write the tag around. Of course I'm thankful > for every other tip that helps :)

Evaluating and working with XPointer in a Transformer

2003-06-04 Thread Stefan Pietschmann
hi again,   as you might remember I'm working on a Transformer. One of its goals is to write an anchor around a certain string in the document. The string is defined as an XPointer value.   So far I the XPointer _expression_ as a variable, something like "string-range(ancestor::spa

Re: I have a problem with transformer XInclude

2003-06-02 Thread Bruno Dumon
On Sat, 2003-05-31 at 18:03, bosspring ... wrote: [...] > In this moment I have the information, but something is relationed > with canciones.xml wiht a XPointer: > > > xlink:href="canciones.xml#xpointer(//[EMAIL PROTECTED]'1']/@canc)"/> > href="canciones.xml#xpointer(//[EMAIL PROTECTED

RE: I have a problem with transformer XInclude

2003-06-02 Thread Carmona Perez, David
ECTED] Asunto: I have a problem with transformer XInclude I am a Spanish student that I am developping a Cocoon project. (I'm sorry, but my English is very poor) I have various XML files relationated and for this example I use artistas.xml (contains information of artists) and canciones.xml

I have a problem with transformer XInclude

2003-06-01 Thread bosspring ...
t one artist of the file, and I use a XSL stylesheet for select this artist: In this moment I have the information, but something is relationed with canciones.xml wiht a XPointer: Now, I want to use a transformer (Xinclude) for include the information. Finally,

I have a problem with transformer XInclude

2003-06-01 Thread bosspring ...
rtist of the file, and I use a XSL stylesheet for select this artist:          In this moment I have the information, but something is relationed with canciones.xml wiht a XPointer:     Now, I want to use a transformer (Xinclude) for include the information. Finally, I use

cinclude transformer - select attribute

2003-05-27 Thread Martin Heink
i want to include the content of a subelement from an xml-file using the cinclude-transformer with the select attribute rather than including the whole file with the element-attribute. but while: works as expected, returns nothing. (cocoon-version: 2.1m2) thx 4 helping - martin heink

Mysql and sql transformer

2003-04-09 Thread Luca Marchetti
Hi all, I've got a problem with mysql (on win or linux) and sql transformer. I've followed the instruction on the cocoon wiki about how to set-up mysql jdbc drivers, I've set up a simple pipeline with a really simple query, but the result is always the same: Failed to obtain con

RE: [CRASH] 2.1-Dev with HTMLGenerator & Transformer

2003-04-05 Thread Tony Collen
On 3 Apr 2003, Bruno Dumon wrote: > Though it could be related with what I changed. All elements generated > by the HTMLGenerator are in the XHTML namespace, so the stylesheet > should use that namespace: > I don't have any previous experience with the HTMLGenerator (and > currently too lazy

RE: [CRASH] 2.1-Dev with HTMLGenerator & Transformer

2003-04-03 Thread Bruno Dumon
> Bruno, > > I'm making a little bit of progress, but I'm still having problems getting > the XSL to go through successfully. The crashes and exceptions have > stopped, but now I'm still experiencing some strangeness with XSL. Here's > my sitemap: [... snipped sitemap snippet ...] > > > And h

RE: [CRASH] 2.1-Dev with HTMLGenerator & Transformer

2003-04-02 Thread Tony Collen
On 1 Apr 2003, Bruno Dumon wrote: > I've tried out your sample, and had the same problem. After putting in a > logtransformer, I noticed that the endDocument SAX event was called > twice. > > I've updated CVS to correct this behaviour. Bruno, I'm making a little bit of progress, but I'm still h

RE: [CRASH] 2.1-Dev with HTMLGenerator & Transformer

2003-04-01 Thread Tony Collen
On 1 Apr 2003, Bruno Dumon wrote: > I've tried out your sample, and had the same problem. After putting in a > logtransformer, I noticed that the endDocument SAX event was called > twice. > > I've updated CVS to correct this behaviour. Bruno, Thank you so very much for your help!! I was starti

RE: [CRASH] 2.1-Dev with HTMLGenerator & Transformer

2003-04-01 Thread Bruno Dumon
On Tue, 2003-04-01 at 09:42, Tony Collen wrote: > On Mon, 31 Mar 2003, Geoff Howard wrote: > > > While you're waiting for someone who has the foggiest clue what is > > going on (which I don't) I'd suggest two experiments: > > > > 1) saving the output of the output from the noaa.gov site to a local

RE: [CRASH] 2.1-Dev with HTMLGenerator & Transformer

2003-03-31 Thread Tony Collen
ocketListener.handleConnection(SocketListener.java:201) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455) The strange thing is if I attach ?cocoon-view=content, the snippet of HTML I am getting appears well-formed. Any more thoughts?

RE: [CRASH] 2.1-Dev with HTMLGenerator & Transformer

2003-03-31 Thread Geoff Howard
tements Geoff > -Original Message- > From: Tony Collen [mailto:[EMAIL PROTECTED] > Sent: Monday, March 31, 2003 7:32 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: [CRASH] 2.1-Dev with HTMLGenerator & Transformer > > > Hi everyone, > >

[CRASH] 2.1-Dev with HTMLGenerator & Transformer

2003-03-31 Thread Tony Collen
Hi everyone, I've been experiencing a strange crash with Cocoon & Jetty. I'm not sure if anyone can reproduce this. I'm running Cocoon 2.1-Dev and Jetty under FreeBSD 4.5-R. JDK is 1.4.1_01. Here's the log from Jetty after it bombs: 19:17:28.616 EVENT Started SocketListener on 0.0.0.0: 1

Re: cvs module name link broken (was Re: Paginator Transformer)

2003-03-31 Thread Diana Shannon
On Monday, March 31, 2003, at 03:52 PM, Geoff Howard wrote: I think there are instructions in the archives or on the wiki for migrating your existing checkout to the new module name without having to do a whole fresh checkout, but if you have broadband and no local modifications, you may find it

Re: Paginator Transformer

2003-03-31 Thread Yahoo
sure... here it is - Original Message - From: "Geoff Howard" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 31, 2003 11:38 AM Subject: Re: Paginator Transformer > I'll check on this tonight. Is there any chance that > you're usin

Re: Paginator Transformer

2003-03-31 Thread Yahoo
Sure... here it is - Original Message - From: "Geoff Howard" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 31, 2003 11:38 AM Subject: Re: Paginator Transformer > I'll check on this tonight. Is there any chance that > you're

Re: Paginator Transformer

2003-03-31 Thread Alex Romayev
I'm using xml-cocoon2. --- Geoff Howard <[EMAIL PROTECTED]> wrote: > I'll check on this tonight. Is there any chance > that > you're using an older checkout? What module name > are you using? xml-cocoon2 or cocoon-2.1 ? The > first is supposed to invisibly mirror the second (I > think), > but

Re: Paginator Transformer

2003-03-31 Thread Geoff Howard
I'll check on this tonight. Is there any chance that you're using an older checkout? What module name are you using? xml-cocoon2 or cocoon-2.1 ? The first is supposed to invisibly mirror the second (I think), but you never know. Geoff At 11:31 AM 3/31/2003, you wrote: OK, I fixed the jar and i

Re: Paginator Transformer

2003-03-31 Thread Geoff Howard
Well, wait a minute - if it's broken in cvs it needs to get fixed and it should be quick. As I don't have a checked out copy here, can you look in src/targets/compile-build.xml and send the target for package-scratchpad, and compile-scratchpad and also tell me what you have in build.properties for

Re: Paginator Transformer

2003-03-31 Thread Alex Romayev
OK, I fixed the jar and it worked, however, sounds like the build still needs to be fixed. Also, I've noticed that cocoon-scatchpad.jar does not get copied into the WEB-INF/lib directory. Thanks for your help, Geoff. --- Alex Romayev <[EMAIL PROTECTED]> wrote: > I'm using 2.1dev from yesterday.

Re: Paginator Transformer

2003-03-31 Thread Alex Romayev
I'm using 2.1dev from yesterday. How would I fix the jar? --- Geoff Howard <[EMAIL PROTECTED]> wrote: > Is this 2.1dev or 2.0.4? I seem to remember this > problem from 2.1dev a > month or > so ago but it should now be fixed - if not, let me > know. Your choices will be > to update from cvs or

Re: Paginator Transformer

2003-03-31 Thread Geoff Howard
Is this 2.1dev or 2.0.4? I seem to remember this problem from 2.1dev a month or so ago but it should now be fixed - if not, let me know. Your choices will be to update from cvs or to manually fix the jar. I'd recommend the first but I or someone else can help you with the second if need be. The

Paginator Transformer

2003-03-31 Thread Alex Romayev
Hi, I'm having problems declaring Paginator in my sitemap, I suspect this has to do with the new build system. Here is what I have in the sitemap: This gives me: ERROR (2003-03-31) 10:44.11:673 [sitemap] (/cocoon/romayev/) Thread-7/ExtendedComponentSelector: Could not load class org.apach

Re: XALAN vs. XSLT Transformer

2003-03-31 Thread Upayavira
> can anyone describe in a short form what´s the difference between the > XALAN and the XSLT Transformer? Er, there isn't such a thing as a XALAN transformer, nor strictly speaking a XSLT one. There is a TRAX transformer. You configure it to use whatever TRAX complient transformer

RE: XALAN vs. XSLT Transformer

2003-03-31 Thread Robert Douglass
XALAN is an XSLT Transformation engine. By default, it is the engine used by the cocoon XSLT Transformer, which is just a cocoon component, and not tied to any specific engine implementation. -Original Message- From: Helmut Tammen [mailto:[EMAIL PROTECTED] Sent: Monday, 31 March, 2003

XALAN vs. XSLT Transformer

2003-03-31 Thread Helmut Tammen
Hi, can anyone describe in a short form what´s the difference between the XALAN and the XSLT Transformer? Thanks Helmut - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: sql transformer question; *not* esql... (was RE: ???ESQL upda te table???)

2003-03-18 Thread Luca Morandini
> -Original Message- > From: Delis, Christopher E. [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 18, 2003 6:32 PM > To: '[EMAIL PROTECTED]' > Subject: RE: sql transformer question; *not* esql... (was RE: ???ESQL > upda te table???) > > > do you mi

RE: sql transformer question; *not* esql... (was RE: ???ESQL upda te table???)

2003-03-18 Thread Delis, Christopher E.
do you mind sharing the template? =-) --chris > -Original Message- > From: Luca Morandini [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 18, 2003 11:18 AM > To: [EMAIL PROTECTED] > Subject: RE: sql transformer question; *not* esql... (was RE: ???ESQL

RE: sql transformer question; *not* esql... (was RE: ???ESQL upda te table???)

2003-03-18 Thread Luca Morandini
> -Original Message- > From: Delis, Christopher E. [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 18, 2003 5:18 PM > To: '[EMAIL PROTECTED]'; 'Luca Morandini ' > Subject: RE: sql transformer question; *not* esql... (was RE: ???ESQL > upda te table

RE: sql transformer question; *not* esql... (was RE: ???ESQL upda te table???)

2003-03-18 Thread Delis, Christopher E.
zip = '' where library_id = > -Original Message- > From: Delis, Christopher E. [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 18, 2003 4:08 AM > To: 'Luca Morandini '; '[EMAIL PROTECTED] ' > Subject: RE: sql trans

Re: SQL Transformer or ESQL Stylesheet?

2003-03-18 Thread Andrew Savory
Hi, On Tue, 18 Mar 2003, Scherler wrote: > Konlin wrote: > > >Can you write me any clues when to use sql transformer and when esql > >stylesheet? > > I have ask that question before but with no answer! > My personal opinion is that you should use the SQL-transform [a]

Re: SQL Transformer or ESQL Stylesheet?

2003-03-18 Thread Scherler
Konlin wrote: Hello Cocoon! Can you write me any clues when to use sql transformer and when esql stylesheet? What is more flexible, easier, more professional etc? I'm going to write simple news portal with Xindice or MySQL as DBMS and I'm wondering what solution is better. Greetz, Kon

RE: sql transformer question; *not* esql... (was RE: ???ESQL update table???)

2003-03-18 Thread Delis, Christopher E.
thanks! i am so embarassed. ;-) i gazed right past that little paragraph... sheesh! -Original Message- From: Luca Morandini To: [EMAIL PROTECTED] Sent: 3/18/03 1:15 AM Subject: RE: sql transformer question; *not* esql... (was RE: ???ESQL update table???) Christopher, IIUC, you need

RE: sql transformer question; *not* esql... (was RE: ???ESQL update table???)

2003-03-17 Thread Luca Morandini
AIL PROTECTED]' ' > Subject: sql transformer question; *not* esql... (was RE: ???ESQL update > table???) > > > i replied to the wrong topic. sorry... what i meant to ask was: is there > a "place-holder" mechanism available using the sql transformer? --c

sql transformer question; *not* esql... (was RE: ???ESQL update table???)

2003-03-17 Thread Delis, Christopher E.
i replied to the wrong topic. sorry... what i meant to ask was: is there a "place-holder" mechanism available using the sql transformer? --chris -Original Message- From: Delis, Christopher E. To: '[EMAIL PROTECTED]' Sent: 3/17/03 9:48 AM Subject: RE: ???ESQL u

SQL Transformer or ESQL Stylesheet?

2003-03-17 Thread Konlin
Hello Cocoon! Can you write me any clues when to use sql transformer and when esql stylesheet? What is more flexible, easier, more professional etc? I'm going to write simple news portal with Xindice or MySQL as DBMS and I'm wondering what solution is better. Greetz, Konrad Inglot

SQL Transformer or ESQL Stylesheet?

2003-03-17 Thread Konlin
Hello Cocoon! Can you write me any clues when to use sql transformer and when esql stylesheet? What is more flexible, easier, more professional etc? I'm going to write simple news portal with Xindice or MySQL as DBMS and I'm wondering what solution is better. Greetz, Konrad Inglot

SOLUTION: double namespace attribute in SQL Transformer

2003-03-16 Thread Robert Douglass
Here is the solution that I believe Charles was suggesting (for those who are as XML inept as I, it is nice to have this in black and white) http://www.w3.org/1999/XSL/Transform"; xmlns:sql="http://apache.org/cocoon/SQL/2.0";> SELECT * FROM foo

Re: XT Transformer or XSLT Transformer?

2003-03-15 Thread Joerg Heinicke
CVS checkout using the branch 'xslt20' I guess. I have not been doing it for myself, I only read it and found the branch via ViewCVS (http://cvs.apache.org/viewcvs.cgi/xml-xalan/java/?only_with_tag=xslt20). Joerg Andrew Watt wrote: At 15:08 18/02/2003 +0100, you wrote: Will cocoon support XSLT

Re: XT Transformer or XSLT Transformer?

2003-03-14 Thread Andrew Watt
At 15:08 18/02/2003 +0100, you wrote: Will cocoon support XSLT 2.0 in the future? Cocoon uses Xalan by default, you can choose and use another XSLT processor like XT or Saxon. The Xalan developer group has a XSLT 2 branch in the CVS, but it's still experimental. Joerg, How can one access the XSLT

RE: Chart transformer

2003-03-14 Thread Luca Morandini
> -Original Message- > From: Rajasekhar Atchutuni [mailto:[EMAIL PROTECTED] > Sent: Friday, March 14, 2003 12:31 AM > To: [EMAIL PROTECTED] > Subject: Chart transformer > > > Not only is the graph not generated, but even the xml for the graph is not > being g

Chart transformer

2003-03-13 Thread Rajasekhar Atchutuni
Hi, I have been using the Charttransformer happily so far on Tomcat, jdk 1.4, cocoon 2.04. Now I am trying to run it on Linux, IBM Websphere 4, JDK 1.3, Cocoon 2.04. Not only is the graph not generated, but even the xml for the graph is not being generated. I get this error instead: XML doc

RE: Accessing nrofrows from SQL Transformer within Stylesheet

2003-03-11 Thread Samuel Bruce
> > Sent: Tuesday, March 11, 2003 7:23 PM > > To: cocoon > > Subject: Accessing nrofrows from SQL Transformer > within Stylesheet > > > > > > > > > My stylesheet snippet is: > > > > > > > > > > > >

RE: Accessing nrofrows from SQL Transformer within Stylesheet

2003-03-11 Thread Luca Morandini
> -Original Message- > From: Samuel Bruce [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 11, 2003 7:23 PM > To: cocoon > Subject: Accessing nrofrows from SQL Transformer within Stylesheet > > > > My stylesheet snippet is: > > > >

Accessing nrofrows from SQL Transformer within Stylesheet

2003-03-11 Thread Samuel Bruce
Hello, I can't seem to access the nrofrows value returned from the SQL Transformer. The resulting XML after the SQL Transformer executes in my pipeline is as follows: http://apache.org/cocoon/SQL/2.0"; n

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.I

Re: object in a transformer

2003-03-11 Thread Christian Haul
a DOM object in a session. > > > > -> create sax events from > a form > first possibility : >-> get the result of the > request and put it in a DOM into a session > second possibility : > > >

Re: object in a transformer

2003-03-11 Thread Lionel Crine
enerate a DOM object in a session. -> create sax events from a form first possibility : -> get the result of the request and put it in a DOM into a session second possibility : docs is the root element of the sax event

Re: object in a transformer

2003-03-11 Thread Christian Haul
ound too good to me. Remember that it needs to be compiled everytime it changes Apart from that, a source seems to be right. Why don't you include the DOM from your XSP (or from a transformer). I believe the session framework supports similar things. In addition, the util logicsheet l

Re: object in a transformer

2003-03-11 Thread Lionel Crine
:51 11/03/2003 +0100, you wrote: 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 meth

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 a

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 cus

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

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

Re: Change default encoding in the transformer

2003-03-10 Thread Lionel Crine
+0100, you wrote: You're right. But my transformer take a part of SAX events sent by the generator and parse it : Here some lines of my transformer : . public void endElement(String uri, String loc, String raw) throws SAXException { if (extractLevel

Re: Change default encoding in the transformer

2003-03-10 Thread Lionel Crine
You're right. But my transformer take a part of SAX events sent by the generator and parse it : Here some lines of my transformer : . public void endElement(String uri, String loc, String raw) throws SAXException { if (extractLevel == 0) { super.endElement(ur

Re: Change default encoding in the transformer

2003-03-10 Thread Martin Holz
Lionel Crine <[EMAIL PROTECTED]> writes: > I'd like to change the default encoding in my custom transformer, how > can I do that ? How is a transformer related to encoding? It's a internal component and is working on java strings only (unless it is reading additional data

Change default encoding in the transformer

2003-03-10 Thread Lionel Crine
I'd like to change the default encoding in my custom transformer, how can I do that ? Lionel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Transformer problem in Cocoon 2.1

2003-02-27 Thread Mark H
> I'm trying to get chart transformer working but it seems to be deleting the > tag names in the output. The writeSource transformer does the same thing when there is a default namespace specified (SVG namespace in this case). Anybody come across this general transformer problem in

Re: cinclude transformer VERY slow

2003-02-27 Thread Martin Holz
"Derek Hohls" <[EMAIL PROTECTED]> writes: > Thanks for this - I have also had problems trying to > process documents with DocBook - it is a large DTD > and the stylesheets supplied (assuming you do not > write your own) are also huge - even without using > cinclude. > > I knwo for myself that I r

  1   2   3   4   5   >