XPath - Whats wrong with my query?

Joined
Jan 10, 2007
Messages
43,898
Location
In The Machine
Im using C#.* The query is in quotes: myNode.SelectSingleNode("Services/Service[starts-with(lower-case(OrgName),'MyOrg1') and starts-with(lower-case(ServiceName),'MyService1')]");

I only ghet back the error messgage:
An unhandled exception of type 'System.Xml.XPath.XPathException' occurred in system.xml.dll
Additional information: System error.

Thanks for any help.* Im just trying to access a node which contains 2 children elements and seeing if those elements contain MyOrg1 "and" MyService1 within them.* Only then should it return the node.



Thanks



More...

View All Our Microsft Related Feeds
 
Back
Top