473,387 Members | 1,897 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

SelectNodes available in one project, not another?

Hi, all! Using VS.Net 2003 (vb.net)...

I've build a sample app (Windows application) to manipulate xml data from
file, and all works fine. However, when I move code that works fine from
the Windows app into a SmartDevice app template, I'm getting an error
telling me that 'SelectNodes is not a member of System.Xml.XmlDocument'.

Is there a difference between the classes when used in a Windows app versus
a SmartDevice app?? Seems to me the class would be functionally the same,
but who knows...

Comments and suggestions welcome...
Jack
Nov 12 '05 #1
2 1485
I don't think the compact framework has that (guessing there is no support
for XPATH).

The documentation contains a class library comparison tool, to see the
differences between classes in the regular and the compact framework - looks
like xpath related methods are missing from the XmlElement class in the
compact version.

"Jack Black" <ja*************@hotmail.com> wrote in message
news:u0**************@TK2MSFTNGP10.phx.gbl...
Hi, all! Using VS.Net 2003 (vb.net)...

I've build a sample app (Windows application) to manipulate xml data from
file, and all works fine. However, when I move code that works fine from
the Windows app into a SmartDevice app template, I'm getting an error
telling me that 'SelectNodes is not a member of System.Xml.XmlDocument'.

Is there a difference between the classes when used in a Windows app versus a SmartDevice app?? Seems to me the class would be functionally the same,
but who knows...

Comments and suggestions welcome...
Jack

Nov 12 '05 #2
Looks like you're absolutely right, darn it! Any suggestions on adapting
XPath queries for SmartDevice coding?

Thanks,
Jack

"Marina" <so*****@nospam.com> wrote in message
news:uC**************@TK2MSFTNGP11.phx.gbl...
I don't think the compact framework has that (guessing there is no support
for XPATH).

The documentation contains a class library comparison tool, to see the
differences between classes in the regular and the compact framework -
looks
like xpath related methods are missing from the XmlElement class in the
compact version.

"Jack Black" <ja*************@hotmail.com> wrote in message
news:u0**************@TK2MSFTNGP10.phx.gbl...
Hi, all! Using VS.Net 2003 (vb.net)...

I've build a sample app (Windows application) to manipulate xml data from
file, and all works fine. However, when I move code that works fine from
the Windows app into a SmartDevice app template, I'm getting an error
telling me that 'SelectNodes is not a member of System.Xml.XmlDocument'.

Is there a difference between the classes when used in a Windows app

versus
a SmartDevice app?? Seems to me the class would be functionally the
same,
but who knows...

Comments and suggestions welcome...
Jack


Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Dave | last post by:
Hi, Is there an easier way to pull a subset of nodes from one XmlDocument to another? I have the code below but would like to know if there is a more streamlined method. Thanks, Dave ...
2
by: Linda Boumarafi | last post by:
Hi, This is a newbie question to XMLNS. I just finished the article on "XML Namespaces and How They Affect XPath and XSLT" by Dare Obasanjo and I'm pretty sure I understand the problem. I just...
0
by: Karel Kral | last post by:
Hello, I have created simple COM service in .NET. COM is accessed from another not NET application by late binding call. And the problem: If I call NetComClass.Hello from another .NET code, all...
1
by: nightscorpion | last post by:
Hello everyone i am trying to extract the nodes from the File with the following code. However i am not succesfull in extracting the codes from the xpath given below...i do not know wht is my...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.