Description

TMC XML

GMS:2 Compatible

Read, write, create XML files

Features:

  1. Read from file or from a xml formatted string
  2. Write out the xml elements to file or to a formatted string
  3. Access to element inner html
  4. Access to element properties
  5. Create, Modify Delete elements
  6. Create, Modify, Delete elements properties
  7. Modify element inner html
  8. Provides functions to navigate through the xml structure
  9. "For Dummies" functions provide easy access to elements without the need to navigate the the xml structure
  10. Search functions to find elements and properties by name so YOU dont have to
  11. Uses UTF-8 to suport special characters
  12. UTF-8 Functions are available to you for your own use

**This product is not 100% DOM compliant, some 3rd party xml file with uncommon but DOM allowed formatting may not load properly

End User Licence Agreement (EULA).

Changes in 1.2.2

Fixed group names in resource tree. no code changes

Version 1.2.2. Published December 23, 2015

Created with GameMaker: Studio v1.4.1690

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Gravatar

Anonymous 14 April 2018


Gravatar

Sven H 02 February 2018


Gravatar

Guus T 30 March 2016

Lifesaver

Excellent extention, recommended to everyone who needs to deal with XML in their program. I use GM to develop professional software and this extension saved me a ton of time, now I can focus on the product! Must-have for every high profile GM user, especially since it's very cheap.

Nice one TMC :)


Gravatar

John A 02 May 2015

Hi TMC!

Hi, this is a good extension. One thing I would like to request is to improve the xmlFromString function, I've reviewed the script and it doesn't really convert the string directly to XML, but instead the strings are stored temporarily in an xml file and that XML file is read again using xmlFromFile. I would love it if the xmlFromString function actually takes strings and parses it to XML directly instead of having a temporary file as a workaround.

The reason why I'm asking for this improvement is that I have an XML file that's encrypted and I can't afford to have temporary copies of it anywhere in the player's computer. So I have to read the encrypted strings, decrypted in-game and convert it using xmlToString (without having to create temporary files to store the original XML strings).

Thanks!
------------------------------------------------------------------
Update - in reply to TMC icuurd: thank you!

This review was left for a previous version of this asset.

Logo

The Mojo Collective (Publisher) 02 May 2015

I fixed this in 1.2.1. Sorry for the inconvenience. In case your are wondering why this was like that, the xmlFromString was added after I created xmlFromFile() (which initially did everything) but before I had implemented xmlStructurize()...

Package contents

Loading, please wait

What is the issue?

Back to Top