Here is the XML:
<XeSex sexIDElement='MID'> <SexID> M </SexID> <Name> Male </Name> <Active> y </Active> <Code> M </Code> </XeSex>
Attitude: sexIDElement = ‘MID’;
Element: Name = Male
trace(xmlTest.hasOwnProperty('@sexIDElement')); // check if the attribute exists trace(xmlTest.hasOwnProperty('Name')); // check if the element exists
BTW, About: XML Elements vs. Attributes
Flex Build: org.xml.sax.SAXParseException :The entity name must immediately follow the ‘&’ in the entity reference <->
// Proudly powered by Apache, PHP, MySQL, WordPress, Bootstrap, etc,.