Libxml Module

BlitzMax Forums/BlitzMax Programming/Libxml Module

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

No, it doesn't yet support memory streams at all... Looking at the API, I think I can probably get it to at some point, but for now....
SuperStrict

Import BaH.libxml
Import BRL.TextStream

Incbin "file.xml"

Local doc:TxmlDoc = TxmlDoc.parseDoc( LoadText("incbin::file.xml") )

' show the contents to stdout
doc.saveFormatFile("-", True)

I know it's not idea - to have to use LoadText() - but until I implement in-memory xml handling, it's the best there is...