I don't see how this XML is valid, given that it uses a style: namespace prefix which isn't defined by xmlns:style="..." anywhere.
- Gordon ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Prakaz Sent: Monday, December 11, 2006 1:49 AM To: [email protected] Subject: [flexcoders] How do I parse this XML? Hi, I have a xml file which looks like this: <?xml version="1.0" encoding="UTF-8"?> <office:document-content xmlns:office="http://openoffice.org/2000/office <http://openoffice.org/2000/office> " xmlns:fo="http://www.w3.org/1999/XSL/Format <http://www.w3.org/1999/XSL/Format> " xmlns:xlink="http://www.w3.org/1999/xlink <http://www.w3.org/1999/xlink> " office:version="1.0 " office:class="presentation"> <style:style style:name="dp1" style:family="drawing-page"><style:properties presentation:transition-style="fade-from-left" presentation:transition-speed="fast" presentation:background-visible="true" presentation:background-objects-visible="true"/> </style:style> <style:style style:name="dp2" style:family="drawing-page"> <style:properties/> </style:style> </office:document-content> The XML loads normally and the whole XML can be traced. I tried to use e4x to parse this xml, but no luck. The problem arises when trying to access the nodes, child nodes or attributes. The regular e4x way to access the nodes and attributes did not work with this xml. Can anyone help me with parsing this XML? Thanks in advance, P

