The thing is you can't put html in an xml attribute. Neither a CDATA tag.
Le 15/05/06 15:10, « Ryan Potter » <[EMAIL PROTECTED]> a écrit : > If it is an attribute of a node and the text field is html, can't you just use > <br/>? > > Ex: > <my-node attribute="<br/>" /> > > Or > > <my-node attribute="this is a line<br/>this is on the next line" /> > > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks > Sent: Monday, May 15, 2006 12:57 PM > To: 'Flashcoders mailing list' > Subject: RE: [Flashcoders] \r > > You didn't mention if the textfield was html or not. ;) > >> -----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf >> Of Patrick Matte >> Sent: Monday, May 15, 2006 11:53 AM >> To: Flashcoders mailing list >> Subject: Re: [Flashcoders] \r >> >> Thanks, great idea, but a friend just told me what I was looking for. >> >> <br> >> >> Its a <br> with the <> encoded. >> >> >> Le 15/05/06 14:38, « Steven Sacks » <[EMAIL PROTECTED]> a écrit : >> >>> x = str.split("\r").join(newline); >>> >>> >>>> -----Original Message----- >>>> From: [EMAIL PROTECTED] >>>> [mailto:[EMAIL PROTECTED] On Behalf >>>> Of Patrick Matte >>>> Sent: Monday, May 15, 2006 11:34 AM >>>> To: Flashcoders mailing list >>>> Subject: [Flashcoders] \r >>>> >>>> Anybody knows how I can put a \r inside an xml node >>>> attribute? I want to add >>>> a line feed between two words. >>>> >>>> Just having \r in the attribute displays \r in my textfield. >>>> I think it must >>>> be encoded in a special way. >>>> >>>> >>>> _______________________________________________ >>>> Flashcoders@chattyfig.figleaf.com >>>> To change your subscription options or search the archive: >>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>>> >>>> Brought to you by Fig Leaf Software >>>> Premier Authorized Adobe Consulting and Training >>>> http://www.figleaf.com >>>> http://training.figleaf.com >>> >>> _______________________________________________ >>> Flashcoders@chattyfig.figleaf.com >>> To change your subscription options or search the archive: >>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>> >>> Brought to you by Fig Leaf Software >>> Premier Authorized Adobe Consulting and Training >>> http://www.figleaf.com >>> http://training.figleaf.com >> >> >> _______________________________________________ >> Flashcoders@chattyfig.figleaf.com >> To change your subscription options or search the archive: >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> Brought to you by Fig Leaf Software >> Premier Authorized Adobe Consulting and Training >> http://www.figleaf.com >> http://training.figleaf.com > > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com