Go Back   RunUO - Ultima Online Emulation > RunUO > RunUO Post Archive

RunUO Post Archive The Archvie

Reply
 
Thread Tools Display Modes
Old 07-21-2004, 08:46 PM   #1 (permalink)
Forum Expert
 
Join Date: Jun 2003
Posts: 414
Send a message via ICQ to will_man
Default an easy Xml reader/writer

this is an Xml writer/reader that i use for some of my scripts. Most of its feature you can figure out from the docs, but if your having troubles either look at the demo script i provided or reply and i can give you a list of functions and how to use them.

Some tips:
Remmeber at the start of reading or writing to StartReading() or StartWriting() and at the end to StopReading() and StopWriting() otherwise errors will be thrown when it is run.

When you open a catagory, or write a catagory remmeber to Close it again when you are done with it: warning: when writing once you close a catagory you cant reopen it.

When you read a list it will return it as a string[] so you will have to convert it if you dont want it in this format.

Other than that any suggestions or errors or advice, please Pm me
Attached Files
File Type: cs EasyXml.cs (6.7 KB, 77 views)
File Type: cs demo.cs (2.0 KB, 68 views)
will_man is offline   Reply With Quote
Old 07-22-2004, 01:00 PM   #2 (permalink)
 
Join Date: May 2004
Age: 33
Posts: 29
Default

thanks
that could be usefull to keep at hand
yevusi is offline   Reply With Quote
Old 07-22-2004, 05:52 PM   #3 (permalink)
Moderate
 
David's Avatar
 
Join Date: Nov 2002
Location: USA
Posts: 6,598
Thumbs up

I downloaded and looked over this script, haven't had a chance to use it yet but it is very well done. Not that xml is that tough to work with, but this is a really nice wrapper for using it in RunUO. Good job will_man, two thumbs up!
__________________
David Forum Moderator
The RunUO.com Forum Moderator Team

Forum Rules and Guidelines
RunUO Forum Search Engine
Download RunUO 2.0 RC2
David is offline   Reply With Quote
Old 07-22-2004, 08:15 PM   #4 (permalink)
Forum Expert
 
Join Date: Jun 2003
Posts: 414
Send a message via ICQ to will_man
Default

thanks.
will_man is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5