(1) Solution found: We placed the <xsp:logic> part *within* the *root*
tag. Now it works. Oviously our fault.

However: When I enclose the output in an arbitrary tag in my XSL
stylesheet, it also works, although the <xsp:logic> part is not in
a tag; but the tag is in the output, of course. And that was the
reason why I didn't think of placing the <xsp:logic> inside the root
tag...

(2) Thanks for the tip, but: How?
To me it sounds like C2, right? We currently use C1, but we want to
upgrade, so where do I find information on how to do what you suggest?

Thanks
        Peter
 >Hi,
 >
 >Peter Christoph Alexander Bär wrote:
 >> Regarding this thread
 >>
 >> http://www.mail-archive.com/cocoon-users@xml.apache.org/msg08169.html
 >>
 >> I forgot to mention that I also tried to solve the problem with the 
 >XSLT
 >> instruction
 >>
 >> <xsl:output method=text/>
 >>
 >> but it is apparently ignored by Cocoon and its components.
 >>
 >> Somewhere on this list I found a hint that this intentional by >design.
 >> Now, ok: Surrounding my text with XML tags is unacceptable for us,
 >> and the XSLT solution doesn't work, because it is considered bad
 >> design.
 >
 >Use a TextSerializer instead of <xsl:output method=text/>.
 >Output is the job of a serializer not a transformer.
 >
 >--
 >Martin Holz  <[EMAIL PROTECTED]> phone: 0049-30-39977 218
 >FIZ CHEMIE BERLIN




-- 
+-------------------------------+-------------------------------------+
|    Peter C. A. Bär            | Siemens Business Services & Co. OHG |
|    Fon  +49.911.654-2387      | Von-der-Tann-Str. 30-31             |
|    Fax  +49.911.654-2108      | 90439 Nürnberg                      |
|                               | Deutschland                         |
+-------------------------------+-------------------------------------+
|              >>>  mailto:[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