473,320 Members | 1,732 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,320 software developers and data experts.

Navigating through XML Documents

Hi ,
I use VB.net to work with XML database,I need to use a DocumentNavigator
class to navigate in XML document, I need to use MoveToChild/MoveToParent
there the problem is that i don't know how to load this DocumentNavigator.
(when I write the Imports ... it doesn't recognize it )
tnx for advance.
Nov 12 '05 #1
4 1726
Why aren't you using the XMLDocument class (System.XML.XMLDocument)? This
class is designed to be compliant with W3C DOM standards for parsing.
"jenyb via DotNetMonster.com" <u15107@uwe> wrote in message
news:5639da0f4b306@uwe...
Hi ,
I use VB.net to work with XML database,I need to use a DocumentNavigator
class to navigate in XML document, I need to use MoveToChild/MoveToParent
there the problem is that i don't know how to load this DocumentNavigator.
(when I write the Imports ... it doesn't recognize it )
tnx for advance.

Nov 12 '05 #2
10x :)
but how do I move to the parent node?

Scott M. wrote:
Why aren't you using the XMLDocument class (System.XML.XMLDocument)? This
class is designed to be compliant with W3C DOM standards for parsing.
Hi ,
I use VB.net to work with XML database,I need to use a DocumentNavigator
class to navigate in XML document, I need to use MoveToChild/MoveToParent
there the problem is that i don't know how to load this DocumentNavigator.
(when I write the Imports ... it doesn't recognize it )
tnx for advance.

Nov 12 '05 #3
Hello!
but how do I move to the parent node?


Use the ParentNode-Property.

<http://msdn2.microsoft.com/library/System.Xml.XmlElement.ParentNode>

--
Pascal Schmitt
Nov 12 '05 #4
Or, declare an instance of a NodeReader class and pass it the XMLDocument in
the constructor.
"Pascal Schmitt" <ne*******@cebra.nu> wrote in message
news:eu**************@TK2MSFTNGP14.phx.gbl...
Hello!
but how do I move to the parent node?


Use the ParentNode-Property.

<http://msdn2.microsoft.com/library/System.Xml.XmlElement.ParentNode>

--
Pascal Schmitt

Nov 12 '05 #5

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

Similar topics

1
by: Luis Ferrao | last post by:
Hi, My Windows Forms application uses the WebBrowser control to open an Excel file since OLE objects are gone in .Net. The application is actualy a clone of the one found in the MS Knowledge...
17
by: Danny J. Lesandrini | last post by:
The following code works with a standard MDB to navigate to a particluar record (with a DAO recordset, of course) but it's giving me problems in an ADP I'm working on. Dim rs As ADODB.Recordset...
2
by: Daveyman | last post by:
Hi, I'm having a problem navigating to/from a subweb using forms authentication. The setup in IIS is as follows: TestSite +----SecureDir +----ReportsSubWeb In VS.Net 2003 this has been...
5
by: Roy Lawson | last post by:
I am having no problems connecting to a DB, creating a DataAdapter, and creating a dataset...and connecting to the data. Using the builtin data objects to do all this. My only problem now is...
1
by: ABC | last post by:
Can I find out when the user is navigating to another page? or What events will be call if the page is change to another page? I want to call clear session variables when user is navigating to...
7
by: hiriumi | last post by:
Hello folks, I have a web application that has basic authentication turned on (IIS). What I would like to accomplish is detect whether user is navigating away from the site or simply going to the...
0
by: tanaji | last post by:
I am writing a web application. In that application I have to need reading data from server during each refresh by using sql query. Refresh time is 10 seconds. BAckend is SQL Server 2000 and frontend...
1
by: JohnMOsborn | last post by:
I am designing an Access database that will use tab controls. Normally, you place different sets of fields on each page of the tab control – like Fields1-3 on Page 1, Fields 4-6 on Page 2, etc. In...
4
by: =?iso-8859-1?q?S=E9bastien_Ros?= | last post by:
I have to process the xmlns declarations in the root node of a document. Unfortunately, they are not recognized as elements nor as attributes. Even with a /root/node() I can't reach them. ...
0
by: in10se | last post by:
I have a .NET 2.0 application that uses the WebBrowser control. Because all of my pages are generated dynamically, I am catching the Navigating event, cancelling it, and performing my own operations...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.