Thanks for your reply, but I found a workaround. What I really need is select nodes by expressions like "//[EMAIL PROTECTED] = {some value}]". Since only the comparision value changes, I want to cache the result of "//[EMAIL PROTECTED]", and then get single nodes from this cache only by the attribute value.
I'm now storing the nodes in a std::map. given the expression "//[EMAIL PROTECTED]", I store the value of the uid attribute as the key and the XalanNode * as the value. This works pretty good and I can also get single nodes from that map by their attribute value, and that's all I need right now. bye King Nak -- View this message in context: http://www.nabble.com/Evaluating-XPath-on-NodeSet-tf2119970.html#a5979297 Sent from the Xalan - C - Users forum at Nabble.com.