I solved it. Flash does support XPATH.
You need to import XPATH like this: import mx.xpath.XPathAPI; and to get the attribute value, i used this code: XPathAPI.selectSingleNode(THIS, "/Node/another/title").attributes.name Working fine now. Thanks On 11/27/05, Robert Jäger <[EMAIL PROTECTED]> wrote: > Sajid Saiyed wrote: > > >> Hi, > >> Is it possible to extract attribute values with XPath? > >> > >> using the syntax: > >> > >> /Nodename/[EMAIL PROTECTED] > >> > >> I am able to select the node that contains an attribute, but then how > >> do I extract the value of that attribute? > >> > >> thanks > >> > > > I don't know, if flash supports xpath in v.8... > but here's a site with some little examples and a xpath class > implemented in as2. > > maybee it helps > > Robert > > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

