Assuming you have a variable called styles that references this file, you can use
styles.style.["font-family"] to access the XMLList with the single element font-family, or styles.style.["font-family"][0] to access the actual font-family element itself. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -----Original Message----- From: ruidsoares <[EMAIL PROTECTED]> Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] Dash symbol on xml tag Date: Mon, 14 Jan 2008 08:53:39 -0000 Hi, I have an xml file that has the following structure: <styles> <style> <font-family>Arial</font-family> <font-weight>bold</font-weight> </style> </styles> I would like to know how can I reference the font-family tag using E4X? Thanks, Rui