cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hay Bruce" <>
Subject XML declaration in text/plain output
Date Mon, 18 Nov 2002 11:21:09 GMT

I've a simple pipeline to make CSV data:

    <!-- Chart CSV Data -->
      <map:parameter name="expires" value="now plus 50 seconds"/>
      <map:match pattern="members/only/charts/*.csv">
        <map:generate type="xsp" src="logic/members/{1}.xsp"/>
        <map:transform src="style/xml2csv.xsl"/>
        <map:serialize type="text"/>

where I've tried putting 

  <xsl:output omit-xml-declaration="yes" method="text"/>

in the XSLT transformation, and




in the serializer declaration in the sitemap

      <map:serializer name="text" mime-type="text/plain"
        pool-max="8" pool-min="2" pool-grow="2"

In all cases I still end up with

<?xml version="1.0" encoding="UTF-8"?>

prior to the plain text output. This is with cocoon 2.1-dev.

Anyone any ideas?



This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company. 

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message