> I'm parsing a huge xml file, and i'm using xpath (as3 version) with > memorphic package (http://code.google.com/p/xpath-as3/) > but I cannot reach a single attribute value on a node: > ex: > <someElement *someAttribute="some value"*> > ... > ... > </someElement> > and i need this value to build a menu. > I'm trying to reach this value with this path: > "root/ancestor/someelem...@*someattribute*" > > But i get this error: > "/Error: Some parsing went awry > at memorphic.parser::SyntaxTree/verifyTree() > at memorphic.xpath.parser::XPathParser/parseXPath() > at memorphic.xpath::XPathQuery/set path() > at memorphic.xpath::XPathQuery$iinit()/" > > Does anyone fixed this issue? > > Thanks for your answers (and sorry for my english)!
There's no need to apologize for your English, it's certainly better than my Italian (or anything else). Are there actually asterisks (*) around the attribute and its value? While you can use asterisks within an attribute name, you can't have one after the quoted value. I'm also not sure if you can use an asterisk for the first character of the attribute name. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

