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 logicsheets

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 to false

SourceWritingTransformer and redirect

2003-02-02 Thread Beat De Martin
Hi folks Is it possible to use SourceWritingTransformer and then a redirect. Like this: ... map:transformer name=filewriter src=org.apache.cocoon.transformation.SourceWritingTransformer/ ... map:match pattern=bestellunguebermittlung.html map:act type=controller map:generate type=serverpages src

Re: SourceWritingTransformer and redirect

2003-02-02 Thread Beat De Martin
map:redirect-to uri=logout.html/ /map:match Hi folks Is it possible to use SourceWritingTransformer and then a redirect. Like this: ... map:transformer name=filewriter src=org.apache.cocoon.transformation.SourceWritingTransformer/ ... map:match pattern=bestellunguebermittlung.html map:act

SourceWritingTransformer: namespaces

2003-01-28 Thread Alex Romayev
Hi, I'm need to use a namespace insite source:replace tag, for example: source:insert xmlns:source=http://apache.org/cocoon/source/1.0; xmlns:myns=http://foo.org/myns; source:path//source:path source:replacemyns:item/source:replace source:fragment.../source:fragmen /source:insert When

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 map:redirect-to ... back to the client? Tim - Please check that your question has not already been answered in the FAQ before

use SourceWritingTransformer with redirect?

2002-12-12 Thread Timothy Larson
refreshes will work normally without causing additional POST's. Here is the working pipeline that writes a file to disk: map:generate src=some-xml-file/ map:transform src=some-xsl-file/ map:transform type=SourceWritingTransformer/ map:serialize/ Here is the working redirect

transforms allowed after SourceWritingTransformer?

2002-12-12 Thread Timothy Larson
Does Cocoon allow transforms after using the SourceWritingTransformer? Example (note: xsl-file-B): map:generate src=some-xml-file/ map:transform src=xsl-file-A/ map:transform type=SourceWritingTransformer/ map:transform src=xsl-file-B/ map:serialize/ In Cocoon-2.0.4 (compiled

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 folder

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: source:write src=... tree-to-be-written ... /tree-to-be-written /source It seems

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. If you

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/editor/tests/test1.xml page

SourceWritingTransformer

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

problem with pdf and SourceWritingTransformer

2002-09-04 Thread Barbara Post
Hi again, here is my sitemap piece : map:match pattern=writelicense map:act type=request map:parameter name=parameters value=true/ map:generate src=cocoon://getlicense?serialNumber={../serialNumber}/ map:transform src=xsl/writeandkeep.xsl/ map:transform

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 map:match pattern=test/*.xsp map:generate type =serverpages src=test/{1}.xsp/ map:transform type=sql map:parameter name

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 map:match pattern=test/*.xsp map:generate type =serverpages src=test/{1}.xsp/ map:transform type=sql map:parameter name=use

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 map:match pattern=test/*.xsp map:generate type =serverpages src=test/{1}.xsp/ map:transform type=sql map:parameter name=use

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

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

[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

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

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. map:transformer name=tofile logger=sitemap.transformer.tofile src=org.apache.cocoon.transformation.SourceWritingTransformer

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. map:transformer name=tofile logger=sitemap.transformer.tofile src=org.apache.cocoon.transformation.SourceWritingTransformer map:parameter name=serializer value=xml/ /map:transformer the serialize parameter is wrong, try

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 +0100 27/3/02, Matthieu Benéteau wrote: 1

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 source and tested it, and I've received

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 old FileWritingTransformer. I've just changed