A lightweight SAX-style XML parser.
A note about other XML assets
I made DerpXml because I needed an free, open-source XML parser to use in my free, open-source level editor. I don't mean to steal business from other assets. DerpXml is SAX-styled, while the other paid assets on the marketplace are DOM-styled and inherently much more powerful. There are a few very high-quality assets out there; go check them out real quick if you haven't already.
DerpXml doesn't have any maintenance costs, and I'm fortunate enough to not need financial help at the moment. But if DerpXml was really helpful to you, consider donating a few dollars to someone else who made something for free on the internet and could use the support.
License (Added Oct 14 2016)
MIT License: http://pastebin.com/JZYHjdvK
1.0.0 - Aug 08 2016
Version 1.0.0. Published August 8, 2016
Created with GameMaker: Studio v1.4.1757
You can only review assets you've bought.
This is great, easy to use
Can I ask just one question, how can I use an xml from a url? I use this but it returns ERROR!!! :: Failed to open file:
when I do this DerpXmlRead_OpenFile('http://www.website.com/sample/xml/');
I tested this asset in writing and parsing rather complex xml files and it worked flawlessly. The code is very well organized and easy to understand, with examples for writing and parsing simple and complex xml.
Highly recommended for any one interested in using xml in Game Maker Studio.
Excelent tool, easy to use
...yet there is still "one" issue. I'm having trouble loading an "included file", and saving over it.
If I could do that, this would level up from Excellent Tool to The Perfect Tool.
PS: Yes, I'm trying to create a level editor.
Thanks! As for your issue, from what I can tell there's no way to overwrite any Included Files. You can read from Included Files, but only write to the Save Area. So it's a limitation of GameMaker.
The page is confusing, but try reading https://docs.yoyogames.com/source/dadiospice/002_reference/file%20handling/file%20system%20limits.html
An amazing and easy to use tool
I was given the pleasure of testing this asset before release, and making sure everything was stable and easy to understand. And honestly, the final product is just that. Going into testing this, I had no idea how XML worked, but just from reading the documentation and fiddling around with it, I understand its uses, its formatting, and how it works.
DerpXml is a fantastic asset that can be used for pretty much anything that uses saving/loading. So far I've integrated it into a level editor and a survival game that reads item properties from an external file, and I can't wait to find even more uses for it. In my opinion, using XML is so much better than the file_text_* or ini_* functions, simply because it is a lot more organized, and WAY more flexible.
If you're looking to do anything related to level editors, preferences, or anything of the sort, definitely check this asset out.
Thanks a lot! :)