Rich, At a glance, I'd suggest the following: 1) create/load XML 2) write it to a string variable. If you need tabs, use "\t". Loop through .attributes to write them. 3) replace all < or > with < or > 4) something else?
BTW, have you searched for this at layer51 ( http://www.layer51.com/proto/ ) ? -- Best regards, GregoryN ================================ http://GOusable.com Flash components development. Usability services. > ---------- "Rich Rodecker" wrote: > > 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> > > [ trimmed ] _______________________________________________ [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

