> I CAN get to the attributes by doing the following:
> myAtt:XMLList = xmlData.reg.attribute("reg.1.user");
>
> but I would really like to use the E4X capabilities to make this
> easier. Is there an easy way to set the reg.1.user attribute?
var xml:XML = <root foo.bar="hello world" />
trace([EMAIL PROTECTED]"foo.bar"]);
// hello world
[EMAIL PROTECTED]"all.your.base"] = "are belong to us";
trace(xml.toXMLString());
// <root foo.bar="hello world" all.your.base="are belong to us"/>
Cheers,
Claus.
--
claus wahlers
cĂ´deazur brasil
http://codeazur.com.br/
http://wahlers.com.br/claus/blog/