XPath 2003

T

Tim Larson

I am writing code from Visual Studio 2003 to insert text into the XML schema of a smart document. However I have great difficulty with trying to select a single node.
For instance ActiveNode = thisDoc.SelectSingleNode("//LastName", prefix:= ...) Does not access the LastName node in the document. However I can get the root
ActiveNode = thisDoc.SelectSingleNode("/*") or I can use a workaround

for each ActiveNode in Nodeset case XMLNode.baseName = LastName then...

How come I am unable to select single node?
thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top