123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|568|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Blitz -> XML file saving loading...

Wed, 12 Dec 2007, 16:14
Toaster
Okay I have this XML file format saving code. I have no clue how it works even after looking at the code and was wondering if some people could shed some light on this...



I have no clue how this works and I want to use it to save the particle settings for each particle I create that way it can easily be changed by the artist giving them more control over the particle.

-Toaster
Wed, 12 Dec 2007, 16:28
Jayenkai
Nodes, lists, yada yada.
I tried understanding that XML reader when I wanted to use XML.

Then I gave up, and coded my own instead.

XML Reader
It's really easy to use, just pass bits of text to filter through the xml!
The example xml file is the big chunk at the bottom, and it should be easy to understand exactly what the top half's doing.

To write out to xml, it's really just a simple text file, but with <section>pieces like this</section> all over the place..

All you have to do is ensure that everything's got an open and close tag, and to make things look neater, ensure it all indents like a properly formatted program would.

-=-=-
''Load, Next List!''
Wed, 12 Dec 2007, 16:59
Toaster
Okay I looked at yours and it was rather slow but I think I understand how XML works in blitz.

Thanks for the code!

-Toaster
Wed, 12 Dec 2007, 21:54
Toaster
Okay so I ended up figuring out how the other one works. I hope your not too disappointed jay yours just ran alittle too slow. Here's what the XML looks like and it loads it perfectly!