M
McCool
I am getting the following error "Expression must evaluate to a node-set" for
the following section of code:
XPathExpression myExpression =
root.Compile("//my:WorkPackage/my:BandRCodes/my:BandR = '" + BandRCode +
"'/my
rogramCodes");
myExpression.SetContext(NamespaceManager);
XPathNodeIterator myPCs = root.Select(myExpression);
This is my first time trying to set up a query/filter in code. Does
everything look ok with this?
Thanks,
Brian
the following section of code:
XPathExpression myExpression =
root.Compile("//my:WorkPackage/my:BandRCodes/my:BandR = '" + BandRCode +
"'/my
myExpression.SetContext(NamespaceManager);
XPathNodeIterator myPCs = root.Select(myExpression);
This is my first time trying to set up a query/filter in code. Does
everything look ok with this?
Thanks,
Brian