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
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
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
to use SourceWritingTransformer and then a redirect. Like
> this:
> ...
> src="org.apache.cocoon.transformation.SourceWritingTransformer"/>
> ...
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> With it works, but
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
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
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
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
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
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
> 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
>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
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
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
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
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.
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
>>
>>
>>
>>
>>
> 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 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
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
> 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
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
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
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
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
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
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
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
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
29 matches
Mail list logo