Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 53170 invoked from network); 5 Dec 2003 20:41:55 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 5 Dec 2003 20:41:55 -0000 Received: (qmail 1124 invoked by uid 500); 5 Dec 2003 20:41:35 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 1102 invoked by uid 500); 5 Dec 2003 20:41:35 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 1089 invoked from network); 5 Dec 2003 20:41:35 -0000 Received: from unknown (HELO jupiter.lunarpages.com) (64.235.234.141) by daedalus.apache.org with SMTP; 5 Dec 2003 20:41:35 -0000 Received: from adsl-18-165-170.gsp.bellsouth.net ([68.18.165.170] helo=torpedo) by jupiter.lunarpages.com with asmtp (Exim 4.24) id 1ASMlm-0001Kl-SZ for users@cocoon.apache.org; Fri, 05 Dec 2003 12:41:47 -0800 From: "Brent L Johnson" To: Subject: RE: Content Updating Date: Fri, 5 Dec 2003 15:41:35 -0500 Message-ID: <023c01c3bb70$2e57c0a0$c801a8c0@torpedo> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: <006b01c3bb55$eb5a16f0$36e6fea9@doghouse.atomicdogpublishing.com> X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - jupiter.lunarpages.com X-AntiAbuse: Original Domain - cocoon.apache.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - bjohnson.net X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Yeah this is quite annoying because as soon as I do an That produces an encoded string value that gets passed all the way to the actual writing of the file.. so it gets overwritten with < and > - Brent > I've run into this as well. We looked at a couple of > different options: > > 1. server side decoders that basically replace your < or > other unicode with their appropriate symbols before > committing to storage. This is a good solution for very > simple markup with little variation. > > 2. Change client to applets, ActiveX or Flash. We chose to > build a flash component based on the following > http://www.flashcomponents.net/component.cfm?nav=2&id=131. > Macromedia has a > pretty decent API for sending and receiving XML. > Performance isn't > great though. We use it as a dumb-client and do all XML > processing on the server. > > Hope this helps, > > Chris > > -----Original Message----- > From: Brent L Johnson [mailto:brent@bjohnson.net] > Sent: Friday, December 05, 2003 11:08 AM > To: users@cocoon.apache.org > Subject: Content Updating > > > Im creating a basic content management system to allow users > to change the content in some of the XML documents. > > I'm reading the content and putting it into a textarea and > doing a form post. To print a preview of the page I have an > XSP file that uses xsp-request to use the data that was > posted instead of the static content in the XML document. > > But after being posted the data is being encoded so it comes out as: > > <img> > > How can I use the posted data as XML without being encoded? > > Thanks, > > - Brent > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org