Subj : referring to the "context node" in XML filtering predicate with E4X To : netscape.public.mozilla.jseng From : Martin Honnen Date : Fri Apr 01 2005 07:03 pm E4X section 11.2.4 describes the XML filtering predicate operator. In the predicate I would like to call a method of the XML object the filtering predicate is applied to e.g. xmlObject..*.(nodeKind() == 'text') however both Rhino and Spidermonkey then tell me that nodeKind is not defined. Is there any way to call a method in the predicate or is the predicate only able to access non function properties (i.e. the child elements by name or the attributes by @attributename)? -- Martin Honnen http://JavaScript.FAQTs.com/ .