Yes, but remember that IE uses xslt to product that pretty formatted
display.

 

toXMLString() will print exactly what is in the xml text.  If there are
no newlines, it will be hard to read.

 

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Alex Harui
Sent: Monday, December 17, 2007 12:51 PM
To: [email protected]
Subject: RE: [flexcoders] Can we Display XML file As Is in Flex ????

 

toXMLString()

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Joseph Balderson
Sent: Monday, December 17, 2007 9:46 AM
To: [email protected]
Subject: Re: [flexcoders] Can we Display XML file As Is in Flex ????

 

Try using the toString() method of the XML class, and then dump it into 
a text field.
__________________________________________________________

Joseph Balderson, Flash Platform Developer | http://joeflash.ca
<http://joeflash.ca> 
Abobe Certified Developer & Trainer | 705-466-6345
Writing partner, Community MX | http://www.communitymx.com
<http://www.communitymx.com> 

tarun chandra wrote:
> Hi,
> 
> I want to display an XML file as is (like in IE) in an mxml page. Is
> it possible to do it in flex?? And if it is, can anyone please tell me
> how to do it.
> 
> Thank You,
> Tarun
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
<http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt> 
> Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
<http://www.mail-archive.com/flexcoders%40yahoogroups.com>  
> Yahoo! Groups Links
> 
> 
> 
> 

 

Reply via email to