This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I want to use the SelectSingleNode method of the XPathAPI class, but I don't understand how to set the contextNode input parameter which is of type Node. The context of what I want to be searched is my XML document which is in a file. How do I get my XML document into a Node object so that I can pass it in as the contextNode parameter? Any help would be appreciated. Thanks, Dave