package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ var example:XML = <example xmlns:test="http://foo.com/"> <test:element>L I</test:element> <test:element test:attribute="D S A" /> </example>; var test:Namespace = example.namespace("test"); trace(example.test::element[0]); } }}
Name (required)
email (will not be published) (required)
Website