1

I have an xml file (loaded in with URLLoader) that looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<root>
    <localizations>
        <words>
            <Brand us="Brand Here"></Brand>
        </words>
    </localizations>
    <world squareunits="100"></world>
</root>

Once loaded,what is the quickest way to access world.squareunits with E4X or just pure AS3?

1 Answer 1

4
var xml : XML = new XML( yourStringHere );
trace( xml.world.@squareunits );
Sign up to request clarification or add additional context in comments.

2 Comments

booyah! I love stackoverflow. So much easier than wading through miles of blogs in search of esoteric xml parsing methods!
This is a great resourse if you have further XML questions livedocs.adobe.com/flex/3/html/…

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.