Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact
A1VBCode Forums
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      

Home » Classic Visual Basic (VB 6 or earlier) » Internet/Communications Programming » I need to parse some XML


I need to parse some XMLExpand / Collapse
Author
Message
Posted 12/3/2009 11:23:43 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 12/3/2009 11:06:02 PM
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
Post #28484
Posted 1/17/2010 4:41:20 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 8/22/2010 10:11:31 PM
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.

Post #28694
Posted 2/5/2010 6:57:48 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

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



website bouwen
Post #28832
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 1 (1 guest, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Admin, Mod, Mark, Keithuk

PermissionsExpand / Collapse

All times are GMT -5:00, Time now is 2:28am