Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Data Integration / December 2006



Tip: Looking for answers? Try searching our database.

Flash 8 chokes on XML from Excel 2003

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
MCR - 15 Dec 2006 11:58 GMT
Using Flash 8's XML object and trying to read in XML created in Excel 2003 I
get error -6 back from the XML.status property which means "An XML element was
malformed."

If I export the same data in Excel 2002 it loads corectly. Further
investigation showed that Excel 2002 exports at the begining this

<?xml version="1.0"?>
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"

And Excel 2003 exports an extra line at the begining like this

<?xml version="1.0"?>
<?mso-application progid="Excel.Sheet"?>
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"

If I remove the 2nd line the file works! Any ideas why Flash chokes on this
line?

This is an issue as I am building an application for a client who only has
Excel 2003!

Thanks for any input on this.

Kevin
cinemaguy - 15 Dec 2006 20:40 GMT
Kevin I had this same issue several weeks ago and found that the only workaround was to remove that 2nd line with either PHP or XSLT before loading the XML file into Flash.
MCR - 16 Dec 2006 10:46 GMT
Can anyone from the Adobe Flash team explain why this happens?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.