DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14185>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14185

XPathAPI.selectNodeList()  fails for 'contains()' attribute expression





------- Additional Comments From [EMAIL PROTECTED]  2003-02-20 21:18 -------
Instead of //*[contains(@*,'Xavier')] 
you probably wanted
//*[contains(@first,'Xavier') or contains(@last,'Xavier')]
which doesn't generalize to "any attribute" but I suspect that there is only a
limited set of attributes that you need to check. You might also consider
//@*[contains(.,'Xavier')]/..
which may be amenable to better optimizations. (Don't expect snappy retrieval
when you have to search the whole tree.)

In XSLT 2.0, you'll be able to use a quantified expression for this purpose.

Reply via email to