BaH.Expat

BlitzMax Forums/Brucey's Modules/BaH.Expat

Brucey(Posted 2009) [#1]
Although it's been available as a module for a loooong time, it was only there because some other modules required it - i.e. the API itself wasn't wrapped.

Anyhoo, I've just finished finally wrapping the API. (currently available from SVN)
It still needs some more examples, an intro for the documentation, and a way to use a TStream as input, but the rest should be there.

Oh... Expat is an XML parser, which uses callbacks to process different sections of an XML document - rather than libxml which loads the DOM (document object model) and gives you access through the document elements.

Since it is only a "parser", you can't use it to create XML, but it is popular mainly because it is lightweight and fast.

And choice is good :-)


Armitage 1982(Posted 2009) [#2]
Callbacks process !
Interesting feature :)
Will surely have a look on this one by the week.

Thank you !


Brucey(Posted 2009) [#3]
Added TStream support, so you can now pass in the text of a document or a TStream object for reading.