Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / General / February 2005



Tip: Looking for answers? Try searching our database.

simple XML

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ZipDC - 28 Feb 2005 15:11 GMT
Hi

I am looking for some good resource on reading and writing basic XML files.
I don't want to do anything particularly fancy, just create an xml file to
replace an .ini file. Any pointers to something lightweight?

Thanks in advance

ZipDC
Mike D Sutton - 28 Feb 2005 15:25 GMT
> I am looking for some good resource on reading and writing basic XML files.
> I don't want to do anything particularly fancy, just create an xml file to
> replace an .ini file. Any pointers to something lightweight?

If nothing else this will automate the process of converting an INI file to XML for you!
http://groups.google.co.uk/groups?selm=OcAJycxQEHA.132%40TK2MSFTNGP09.phx.gbl
Also, here's a basic introduction to XML and various links to other old posts on the subject, if you have any specific
queries then post back and we'll take a look for you:
http://groups.google.co.uk/groups?selm=uFdNHlVfEHA.1288%40TK2MSFTNGP10.phx.gbl
Hope this helps,

   Mike

- Microsoft Visual Basic MVP -
E-Mail: EDais@mvps.org
WWW: Http://EDais.mvps.org/
Jeff Johnson [MVP: VB] - 28 Feb 2005 15:48 GMT
> I am looking for some good resource on reading and writing basic XML
> files.
> I don't want to do anything particularly fancy, just create an xml file to
> replace an .ini file. Any pointers to something lightweight?

XML isn't particularly lightweight. If you're looking for something simple
to replace .INI files you might be better off rolling your own. Otherwise
you're going to, at the very least, either learn how to get a nodelist and
iterate it to look for what you want (slow) or learn enough about XPath
queries to be able to select the subset of nodes you want to process. If you
can provide a sample of what you'd LIKE to do I might be able to whip up a
quick code sample. I've just recently gotten into using XML in code (nothing
fancy, no namespace stuff yet) and I can handle the basics.
ZipDC - 28 Feb 2005 16:18 GMT
Thank you both.

ZipDC

>> I am looking for some good resource on reading and writing basic XML
>> files.
[quoted text clipped - 9 lines]
> up a quick code sample. I've just recently gotten into using XML in code
> (nothing fancy, no namespace stuff yet) and I can handle the basics.
Veign - 28 Feb 2005 18:32 GMT
Adding:

To learn about XPath or XQuery goto www.w3schools.com .  They have very well
written tutorials to learn the basics of web technologies...

Signature

Chris Hanscom - Microsoft MVP (VB)
Veign's Resource Center
http://www.veign.com/vrc_main.asp
--

> Thank you both.
>
[quoted text clipped - 13 lines]
> > up a quick code sample. I've just recently gotten into using XML in code
> > (nothing fancy, no namespace stuff yet) and I can handle the basics.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.