[flexcoders] Can we Display XML file As Is in Flex ????

2007-12-17 Thread tarun chandra
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



Re: [flexcoders] Can we Display XML file As Is in Flex ????

2007-12-17 Thread Joseph Balderson
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
Abobe Certified Developer  Trainer | 705-466-6345
Writing partner, Community MX | 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
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
 


RE: [flexcoders] Can we Display XML file As Is in Flex ????

2007-12-17 Thread Alex Harui
toXMLString()

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Joseph Balderson
Sent: Monday, December 17, 2007 9:46 AM
To: flexcoders@yahoogroups.com
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
 
 
 
 

 



RE: [flexcoders] Can we Display XML file As Is in Flex ????

2007-12-17 Thread Tracy Spratt
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: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alex Harui
Sent: Monday, December 17, 2007 12:51 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Can we Display XML file As Is in Flex 

 

toXMLString()

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Joseph Balderson
Sent: Monday, December 17, 2007 9:46 AM
To: flexcoders@yahoogroups.com
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
 
 
 
 

 



Re: [flexcoders] Can we Display XML file As Is in Flex ????

2007-12-17 Thread Joseph Balderson
That's what I meant ;) Thanks for the catch.
___

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


Alex Harui wrote:
 toXMLString()
 
  
 
 
 
 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
 *On Behalf Of *Joseph Balderson
 *Sent:* Monday, December 17, 2007 9:46 AM
 *To:* flexcoders@yahoogroups.com
 *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