Hey guys,

Is it just me, or is this functionality missing? Why on earth do I have to
basically build a string in order to build an XML object?

If I try "new XML(myQname)" I just get a text node containing
myQname.toString() :(

The best I can think up so far is this:

var node : XML = new XML(<bogus/>);
node.setNamespace(myNamespace);
node.setLocalName(myQname.localName);

Which smells to high heaven. Why do we have QNames if we have to also have
an actionscript namespace to use XML namespaces?

-Josh

-- 
"Therefore, send not to know For whom the bell tolls. It tolls for thee."

http://flex.joshmcdonald.info/

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]

Reply via email to