The namespaces is why you are having trouble using e4x. Please see the
livedocs on namespaces for more help.

http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00001912.html

--- In [email protected], Prakaz <[EMAIL PROTECTED]> wrote:
>
> 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";
> xmlns:fo="http://www.w3.org/1999/XSL/Format"; xmlns: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
> e4xto 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
>


Reply via email to