That was real quick, David. Thanks.

I'll clarify:

1. In Tomcat [4] we have set the destination type to <map:serialize
type="xml"/>, as you have suggested.
The following problems have arisen:
- Internet Explorer gets into Cocoon's way and wants to open the xml file
when I click onto it to start the transformation. We haven't found a way to
stop IE doing that.
- Alternatively, we have set Tomcat to <map:serialize type="html"/>,
producing an html output with the option of (a) viewing the source code, (b)
copy it to the clipboard, (c) paste it into an empty xml file using some XML
editor, (d) saving the xml file in the xml editor. This (a)..(d) does not
seem satisfactory at all.

We need the xml output as an xml file, to further process it.

Therefore, we'd prefer to
- set the destination type to <map:serialize type="xml"/>
- click on the xml file or any other destination file from inside the
browser TO START THE TRANSFORMATION
- have our xml editor open the xml file produced by the transformation or,
alternatively, view the xml sourcecode directly in the browser or,
alternatively, have an xml file dropped unviewed somewhere in a specified
destination folder.

Is this possible, and if it is, how?

2. The other question I tried to get over before was this: When we embarked
in FOP transformation we didn't expect so many problems linked to the
processor. However, we got lots of problems with non-existing or even wrong
documentation, non-working functions or functions working under some very
specific conditions. Is the state of realization of XML2XML with Cocoon [2]
satisfactory under this aspect? Or would anybody advise me to use rather a
different processor?

Thanks for your answer(s) in advance,

Matthias


-----Original Message-----
From: David Rosenstrauch [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 10, 2001 4:00 PM
To: [EMAIL PROTECTED]
Subject: Re: XSLT transformations with Cocoon


I'm not sure I understand your question, so I'll try to answer as best I
can:

* Is it possible to use cocoon to do an XSLT transformation with the output
being XML?
Yes.    <map:serialize type="xml"/>

[...]

DR


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to