Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact


I need to parse some XML


I need to parse some XML

Author
Message
lakna
lakna
Forum God
Forum God (763 reputation)Forum God (763 reputation)Forum God (763 reputation)Forum God (763 reputation)Forum God (763 reputation)Forum God (763 reputation)Forum God (763 reputation)Forum God (763 reputation)Forum God (763 reputation)

Group: Forum Members
Posts: 3, Visits: 3
I don't even know what parse means. I'm guessing it refers to processing because that's how everyone seems to use it when talking about moving through a specially formatted file type.



I need a way to parse some XML. I've heard something about it being in a specific class type in .NET. Of course until I can get the program up and running again I don't have time to look it up myself. So I was wondering if anyone knew anything about it.



Too bad .NET can't compile to run on a plain win32 platform. I'd love to be able to use such a class without requiring my users to download the .NET framework. Oh well.



Thanks for any help you can give me.

music downloads

dilettante
dilettante
Forum God
Forum God (3.7K reputation)Forum God (3.7K reputation)Forum God (3.7K reputation)Forum God (3.7K reputation)Forum God (3.7K reputation)Forum God (3.7K reputation)Forum God (3.7K reputation)Forum God (3.7K reputation)Forum God (3.7K reputation)

Group: Forum Members
Posts: 9, Visits: 54
Parsing usually is meant casually as the process of analyzing and decoding information that has been "serialized" into text form.  This text might have been a program source written by a person, or almost anything else.

In your case you want to do something with XML.  XML is a serialization format that is meant to represent some sort of structured information.  A simple example might be a file directory listing, which begins at a "root" position and then consists of a list of "rows" of data.  Each row could have a number of attributes (file size, creation date, name, etc.) and it might in turn have another list of items within it if the item is a directory itself.

When your program receives or reads this XML document, it may need to extract the information from it or search within it.  You can parse the XML text for individual pieces of information, or you can parse the whole thing in one pass, building some sort of object hierarchy.

One common approach is to use a generic XML Document Object Model (DOM) library to hold the parsed information.  There are a number of XML DOM libraries out there, and most of them include parser/serializer logic wthin themselves.

However you seem to be asking about VB.Net in the Classic VB forums for some reason.

yasas177
yasas177
Forum God
Forum God (1.3K reputation)Forum God (1.3K reputation)Forum God (1.3K reputation)Forum God (1.3K reputation)Forum God (1.3K reputation)Forum God (1.3K reputation)Forum God (1.3K reputation)Forum God (1.3K reputation)Forum God (1.3K reputation)

Group: Forum Members
Posts: 4, Visits: 5
Have a look at this article, which explains what 'parse' means. http://en.wikipedia.org/wiki/Parser




website bouwen
GO


Similar Topics


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....

















A1VBCode Forums


Search