To return a collection (list) of nodes, you need to use the SelectNodes function. Using your example XML, to return all of the Category nodes, you need to use the following XPath query: //Category. This tells the parser to find all of the "Category" nodes that are one level below the root node.
Scott.
—In just two days, tomorrow will be yesterday. [Forum Guidelines] [Articles] [Blog]