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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
26 matches
Mail list logo