Subject:Fail!. Finding a parent node that matches a node from the list of nodes. Author:Vishal Singh Date:23 Apr 2007 10:43 AM
Can I do this ? It doesn't works. I need to check that if one of the countries is an ancestor of the current node that I am in the xml document. So what I am trying is, to run a loop on countries and check if it matches any of the ancestors. I am working in MSXML. Are there any other options avaiable.
Subject:Fail!. Finding a parent node that matches a node from the list of nodes. Author:(Deleted User) Date:24 Apr 2007 09:18 AM
Hi Vishal,
have you tried using current() instead of '.' in the predicate? I think you want to run the contains() on the context set by the for-each, not on the title element....