Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Quad, degenerate_762), 642 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: XML lib for Lite-C [Re: WretchedSid] #343220
10/04/10 15:19
10/04/10 15:19
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline OP
Serious User
PadMalcom  Offline OP
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
Hey Sid I just found the right thing for you wink http://tiny.cc/dqp3fan1b2

Re: XML lib for Lite-C [Re: PadMalcom] #343222
10/04/10 15:28
10/04/10 15:28
Joined: Apr 2007
Posts: 3,751
Canada
WretchedSid Offline
Expert
WretchedSid  Offline
Expert

Joined: Apr 2007
Posts: 3,751
Canada
Well, than don't file a bug report but please don't complain about bugs anymore because you are apparently not interested in a fix.


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com
Re: XML lib for Lite-C [Re: WretchedSid] #343226
10/04/10 15:45
10/04/10 15:45
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline OP
Serious User
PadMalcom  Offline OP
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
Apparently, I am not. Apparently, I am interested in a solution. Apparently, this is why I have chosen a title named "XML lib for Lite-C" and not "Fix for XML lib 42 for Lite-C" wink

And as I said, whenever I have some knowledge to contribute I will do. If you had a bad day just leave your bad mood at home... really.

Re: XML lib for Lite-C [Re: PadMalcom] #343254
10/04/10 19:22
10/04/10 19:22
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
I indeed have some clumsy XML stuff running in Lite-C. Unfortunately it is not 100% comaptible to every XML file as I forgot to add some stuff. Will have to change that when I have some more free time again I think.
Also there is no good error handling, so don't try to break it with invalid XML files - you'll be successful in breaking it laugh

xmlsample.c should be in subfolder 'samples'
list.c/h in subfolder 'list'
xmlreader.c/h in subfolder 'xmlreader'

You may need to adjust include pathes when moving files around.

xmlreader.c: http://pastebin.com/MnHXsx74
xmlreader.h: http://pastebin.com/gUw8VpUv
list.c: http://pastebin.com/VvqfH5Kx
list.h: http://pastebin.com/3zCpJYfv

A hastily written sampel script:
xml_sample.c: http://pastebin.com/xmeZSH3h
test.xml (used in xml_sample.c): http://pastebin.com/3XRis38q


Provided as is. Hate it or love it.

Re: XML lib for Lite-C [Re: FBL] #343294
10/05/10 07:13
10/05/10 07:13
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline OP
Serious User
PadMalcom  Offline OP
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
Hi Firoball, I only need basic functions, so your script's might be sufficient. Thanks a lot!! If I make any progress on the clumsy XML stuff I'll send you the improvements laugh

(Btw: The typo in your location is volitional? wink )

Last edited by PadMalcom; 10/05/10 11:59.
Re: XML lib for Lite-C [Re: PadMalcom] #343338
10/05/10 16:32
10/05/10 16:32
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
it's intended.

Munichen

Page 2 of 2 1 2

Moderated by  adoado, checkbutton, mk_1, Perro 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1