Re: [FlexJS} QName toString()

2016-09-19 Thread Alex Harui
OK, I'll try to find another way. On 9/19/16, 12:12 PM, "Harbs" wrote: >Yes. I’m pretty sure it’s used to implicitly convert a qname into a >proper string representation to an XML name. This can be in client code >such as var foo:String = myXML.name(). It’s also used in >XML.toAttributeName(). >

Re: [FlexJS} QName toString()

2016-09-19 Thread Harbs
Yes. I’m pretty sure it’s used to implicitly convert a qname into a proper string representation to an XML name. This can be in client code such as var foo:String = myXML.name(). It’s also used in XML.toAttributeName(). On Sep 19, 2016, at 9:35 PM, Alex Harui wrote: > Hi, > > FlexJS has a Qna

[FlexJS} QName toString()

2016-09-19 Thread Alex Harui
Hi, FlexJS has a Qname class. Looks like it is mostly used in XML. It has a toString() that adds a "::" between the uri and localname. Is toString() being used anywhere? I want to change Qname.toString() to produce a valid JS identifier. Then I can use Qname outside of XML. If mx_internal wh