from senocular.com
Actionscript Code:
// XML with xpl namespace
var xml:XML =
<xml xmlns:xpl="http://www.example.com/uri/">
<text>Hello World</text>
<xpl:text>Hello Namespace</xpl:text>
</xml>;
// Make a namespace instance based
// on the xpl namespace's URI
var xplNs:Namespace = new Namespace("http://www.example.com/uri/");
// Accessing the text element
trace(xml.text); // traces "Hello World"
// Use the name qualifier operator to
// reference the text tag using the namespace
// and the element's base name
trace(xml.xplNs::text); // traces "Hello Namespace"
for more information about Namespaces refer to this page -> http://www.senocular.com/flash/tutor...ashcs3/?page=4