Re: SourceWritingTransformer, namespaces problem with Cocoon 2.1

2003-04-01 Thread Murad Jura
Bruno Dumon wrote: On Sat, 2003-03-01 at 17:52, Mark H wrote: I'm trying to write an XSP to a file using SourceWritingTransformer but the latest DOMStreamer (v2.1) with setNormalizeNamespacesOn to true adds a namespace to every element rather than to the xsp:page element (so that the logics

Re: SourceWritingTransformer, namespaces problem with Cocoon 2.1

2003-03-11 Thread Bruno Dumon
On Sat, 2003-03-01 at 17:52, Mark H wrote: > I'm trying to write an XSP to a file using SourceWritingTransformer but the > latest DOMStreamer (v2.1) with setNormalizeNamespacesOn to true adds a > namespace to every element rather than to the xsp:page element (so that the > logic

SourceWritingTransformer, namespaces problem with Cocoon 2.1

2003-03-01 Thread Mark H
I'm trying to write an XSP to a file using SourceWritingTransformer but the latest DOMStreamer (v2.1) with setNormalizeNamespacesOn to true adds a namespace to every element rather than to the xsp:page element (so that the logicsheets don't work), when I setNormalizeNamespacesOn t

Re: SourceWritingTransformer and redirect

2003-02-02 Thread Beat De Martin
to use SourceWritingTransformer and then a redirect. Like > this: > ... > src="org.apache.cocoon.transformation.SourceWritingTransformer"/> > ... > > > > > > > > > > > > > > > > > With it works, but

SourceWritingTransformer and redirect

2003-02-02 Thread Beat De Martin
Hi folks Is it possible to use SourceWritingTransformer and then a redirect. Like this: ... ... With it works, but when I use redirect, the file is not written. The redirect itself works. Any suggestions ? Cheers Beat De Martin -- +++ GMX - Mail, Messaging

SourceWritingTransformer: namespaces

2003-01-28 Thread Alex Romayev
Hi, I'm need to use a namespace insite source:replace tag, for example: http://apache.org/cocoon/source/1.0"; xmlns:myns="http://foo.org/myns";> / myns:item ... When I run this, I get: javax.xml.transform.TransformerException: Prefix must resolve to a namespace: myns. Is it actually p

use redirect with SourceWritingTransformer?

2002-12-18 Thread Timothy Larson
Is it possible to call a pipeline to use the SourceWritingTransformer and still only send a simple back to the client? Tim - Please check that your question has not already been answered in the FAQ before posting. <h

transforms allowed after SourceWritingTransformer?

2002-12-12 Thread Timothy Larson
Does Cocoon allow transforms after using the SourceWritingTransformer? Example (note: xsl-file-B): In Cocoon-2.0.4 (compiled with "build installscratchpadwar") it produces this beautiful error message: org.apache.cocoon.ProcessingException: Failed to execut

use SourceWritingTransformer with redirect?

2002-12-12 Thread Timothy Larson
What can I do in a Cocoon sitemap to send a redirect if I also need to execute a pipeline to produce a side-effect? Specifically, I am trying to respond to a POST by writing a file to disk and redirecting back to the page that caused the POST. The redirect is to drop the POST information so page

SourceWritingTransformer and sub-sitemap

2002-11-12 Thread Barbara Post
Hi, I use SourceWritingTransformer 3 times, and the XML stream that is processed by this transformer is produced by a sub-sitemap. So that my XML database queries are gathered there. The bug : my transformer wants to write in the "ino" folder, where is placed the sub-sitemap. Not the

RE: SourceWritingTransformer.

2002-10-15 Thread ROSSEL Olivier
> From what I understand, yes. In 2.1 > SourceWritingTransformer has been merged with > ex-sunrise InsertTransformer. No hope to see this feature in C2.0.4 ? It would be a so neat feature!!! This e-mail is intended only for the above addressee. It may contain privileged information. I

Re: SourceWritingTransformer.

2002-10-15 Thread Alex Romayev
>From what I understand, yes. In 2.1 SourceWritingTransformer has been merged with ex-sunrise InsertTransformer. Alex --- ROSSEL Olivier <[EMAIL PROTECTED]> wrote: > I use old-style SWT: > > > > ... > > > > It seems that there is a newer syntax (wit

SourceWritingTransformer.

2002-10-15 Thread ROSSEL Olivier
I use old-style SWT: ... It seems that there is a newer syntax (with a very interesting source:insert !! ) but I can't get it to work in C2.0.3. It seems that the SWT I have still uses the old-style syntax. Is the new SWT only available in C2.1dev ? This e-mail is intended only for th

Why insert tag of SourceWritingTransformer doesn't work?

2002-09-25 Thread funing
Hi! Does anyone have tried SourceWritingTransformer? I copy the sample code from http://xml.apache.org/cocoon/userdocs/transf ormers/sourcewriting-transformer.html to my test1.xml and found that "insert" tag doesn't work. Why? This is test1.xml: > mount/edit

problem with pdf and SourceWritingTransformer

2002-09-04 Thread Barbara Post
Hi again, here is my sitemap piece : Explaination : I get an xml file, by writeandkeep.xsl add the relevant tags to be able to apply the transformer, and I keep the licence content because I

SourceWritingTransformer

2002-09-04 Thread Barbara Post
Can it automatically create a folder on the HD (I define where I write in tag) or does it only use existing folders ? Thanks, Barbar - Please check that your question has not already been answered in the FAQ before posting.

Re: Please help with SourceWritingTransformer

2002-07-12 Thread Sylvain Wallez
ROSSEL Olivier wrote: >>I seem to have done everything right and was testing out the >>SourceWritingTransformer and can't get it to write to a file. >> I have the >>pipeline >> >> >> >> >>

RE: Please help with SourceWritingTransformer

2002-07-12 Thread ROSSEL Olivier
> I seem to have done everything right and was testing out the > SourceWritingTransformer and can't get it to write to a file. > I have the > pipeline > > > > > > >

Please help with SourceWritingTransformer

2002-07-11 Thread Gerardo_Flores
I seem to have done everything right and was testing out the SourceWritingTransformer and can't get it to write to a file. I have the pipeline I know that everything up to the s

Trouble with SourceWritingTransformer

2002-07-11 Thread Gerardo_Flores
I seem to have done everything right and was testing out the SourceWritingTransformer and can't get it to write to a file. I have the pipeline I know that everything up to the s

RE: SourceWritingTransformer sample (disregard previous post "Serializer that writes to file")

2002-07-10 Thread Hunsberger, Peter
> Also, what if I don't want the final output sent over the wire.how > would I stop output from going to the requesting browser? Writing a "null" (do nothing) serializer would be pretty easy... :-) - Please check that your

SourceWritingTransformer sample (disregard previous post "Serializer thatwrites to file")

2002-07-10 Thread Gerardo_Flores
Sorry, seems that I must have posted my previous question before (have had way too many things on my mind lately). The best solution would seem to be to use the SourceWritingTransformer to simply write my content to a file. To specify the file to write to, would I just have to write an xsl

[UPDATE] SourceWritingTransformer & Samples

2002-07-03 Thread Jeremy Quinn
Dear All, The SourceWritingTransformer in HEAD has just been updated (along with the samples and tests in scratchpad). There were two main tags in SWT, source:write and source:insert, each of them was configured in a completely different way, this update has unified the two tags so that they

SourceWritingTransformer error

2002-05-28 Thread Olivier Rossel
Can anyone try this HOWTO and tell me if he/she gets the abnormal behaviour described here: http://www.mail-archive.com/cocoon-dev%40xml.apache.org/msg16998.html I would like to know if this bug is known and has been corrected. PS: it is something that is in the scratchpad (I think). If you do

RE: SourceWritingTransformer : Cannot get 'xml' serializer

2002-03-27 Thread Matthieu Benéteau
It's working ! :) Thanks a lot. Matthieu > -Message d'origine- > De : Jeremy Quinn [mailto:[EMAIL PROTECTED]] > Envoyé : mercredi 27 mars 2002 11:26 > Objet : RE: SourceWritingTransformer : Cannot get 'xml' serializer > > > At 9:55 am +01

RE: SourceWritingTransformer : Cannot get 'xml' serializer

2002-03-27 Thread Jeremy Quinn
At 9:55 am +0100 27/3/02, Matthieu Benéteau wrote: >1. logger="sitemap.transformer.tofile" > >src="org.apache.cocoon.transformation.SourceWritingTransformer"> > > the serialize parameter is wrong, try this: --> xml Why th

RE: SourceWritingTransformer : Cannot get 'xml' serializer

2002-03-27 Thread Matthieu Benéteau
Sorry for being long, I'm just beginning my day. ( 09:40 AM in France :) I have simply replaced "FileWritingTransformer" with "SourceWritingTransformer" in the sitemap : 1. 2. 3. Inside test-write.xml : http://apa

Re: SourceWritingTransformer : Cannot get 'xml' serializer

2002-03-26 Thread Jeremy Quinn
At 6:18 pm +0100 26/3/02, Matthieu Benéteau wrote: >Hi, > >I've just installed Cocoon 2.0.2 on Tomcat 4.0.1, and it works perfectly :). >But I've encountered a problem using the scratchpad's >SourceWritingTransformer. > >I used to use revision 1.6 of the ol

SourceWritingTransformer : Cannot get 'xml' serializer

2002-03-26 Thread Matthieu Benéteau
Hi, I've just installed Cocoon 2.0.2 on Tomcat 4.0.1, and it works perfectly :). But I've encountered a problem using the scratchpad's SourceWritingTransformer. I used to use revision 1.6 of the old FileWritingTransformer. I've just changed "xfwt" into "sourc