Skip to main content
November 15, 2007
Question

parsing XML with namespaces (AS 3.0)

  • November 15, 2007
  • 1 reply
  • 190 views
The xml file I am parsing uses namespaces, which I think might be causing problems.

Basically, I can see the child node if I call children() to get a list of nodes. But I can't access the child node directly with child("Nodename").

I've also tried the following which I would think would work fine, but in the end worksheet ends up being empty.

Any ideas?
This topic has been closed for replies.

1 reply

November 15, 2007
Well I figured out a way to make it work. If I obtain the namespace and then use default xml namespace, I can get child() to work. I don't understand why I can't just use the fully qualified name when passing it in to child though.