im nto sure that would help...basically i want to show the entire contents of the xml object inside a text area, exactly as below (i hope this formatting doesnt get screwed up):
<root> <trivia answer="2"> <question>Brazil has been the most prolific World Cup Champion with 5 titles. Which two countries are tied for second most Championships with 3?</question> <answer1>Germany and Argentina</answer1> <answer2>Italy and Germany</answer2> <answer3>France and England</answer3> <answer4>Spain and Argentina</answer4> </trivia> <trivia answer="2"> <question>How many substitute players are allowed in a World Cup match?</question> <answer1>2</answer1> <answer2>3</answer2> <answer3>4</answer3> <answer4>5</answer4> </trivia> </root> On 5/19/06, Merrill, Jason <[EMAIL PROTECTED]> wrote:
Have you tried wrapping the XML you want to show in a CDATA tag in the XML? Jason Merrill Bank of America Learning & Organization Effectiveness Technology Solutions -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rich Rodecker Sent: Friday, May 19, 2006 2:59 PM To: Flashcoders mailing list Subject: [Flashcoders] formatted xml in a textarea component is there an easy way to get formatted xml into a textarea component? right now I am setting the textarea's text property to xml.toString(), but that's just one long string. i could probably go through each node and add some tabs or something, but i probably don't want to do that. _______________________________________________ [email protected] 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 _______________________________________________ [email protected] 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
_______________________________________________ [email protected] 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

