Hi
Try to add type-mime="text/xml" attribute to your element using the xml :

<map:transform type="xslt" src="....xml" mime-type="text/xml"/>

----- Original Message -----
From: Navneet Joneja <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 19, 2001 9:40 PM
Subject: Redirect/Cocoon


> Hi!
> I'm using the redirect extension as part of a cocoon process to redirect
> output to a file. The trouble is that when my source contains entity
> references, they're resolved before writing them to the file, eg:
> &amp; appears as & in the file.
> This is nice if the file is a plain text file, but the final file is
> intended to be an XML file... and hence the removal of the entity
references
> is actually quite a pain in the butt since when I try to operate on them,
> the transformer throws up.
> Has anyone seen this before? Is there something I can do to avoid this?
> Thanks!
> - Navneet.
>
> ---------------------------------------------------------------------
> 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