You are trying to use E4X syntax on something that isn't an XML object
- http://en.wikipedia.org/wiki/ECMAScript_for_XML

Correct use of that syntax:

var data = <root><value a="1">foo</value><value a="1">bar</
value><value a="2">bas</value></root>;
alert(data.value.(@a == 1));

"bar" is also a valid filter but it is a useless one - it is the
equivalent of true.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to