Ask a Question related to ASP.NET General, Design and Development.
-
KathyB #1
PRETTY PLEASE...need answer to why "this method should result in NodeSet" error
Hi,
Using the following in an asp.net procedure. I get the error "The
expression passed to this method should result in a NodeSet".
Dim xDoc As New Document()
The line causing the error is:
Dim n as XmlNode = xDoc.SelectSingleNode("//Station[@name]="Station1"]/WI/[Boards/Board[@sn="12345"][@finish]][last()]/@order")
I need to retrieve the content of the "order" attribute of the WI
element for the last "finished" board with the specified serial
number. The path works in xpathvisualizer, but I'm doing something
wrong with the NodeSet issue and/or how I'm using this in asp.net
code. Fairly new at this, so please bear with me. I've tried looking
this up but still not seeing where it's going wrong.
If there is no match, shouldn't it at least return a null nodeset?
Thanks, Kathy
p.s. sorry this is a bit of a repost but I'm held up until I can solve
this.
KathyB Guest
-
Adding a new web method gets me the "Server did not recognize the value of HTTP Header SOAPAction" error
A couple of weeks ago, I set up a .NET web service with one web method. Since then, my Linux client has been using the one method with no problem.... -
Can't locate object method "blocking" via package "IO::Handle"
I am receiving the error message: Can't locate object method "blocking" via package "IO::Handle" at... -
#26162 [NEW]: $a="0abcdefg";if ($a==0) echo "OK"; result is "OK" ?!
From: zhuminglun at yahoo dot com dot cn Operating system: linux/win2000 PHP version: 4.3.4 PHP Bug Type: *General Issues... -
#26162 [Opn->Bgs]: $a="0abcdefg";if ($a==0) echo "OK"; result is "OK" ?!
ID: 26162 Updated by: didou@php.net Reported By: zhuminglun at yahoo dot com dot cn -Status: Open +Status: ... -
#12029 [Com]: "--with-apxs" can cause the error "MySQL: Unable to save result set in"
ID: 12029 Comment by: sietzepost at streetwisedd dot nl Reported By: root at byone dot com Status: Bogus Bug...



Reply With Quote

