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.

It's really great that it's cross platform, and no externals are needed.

Adding the below functions to the "Extern" section of libxml.bmx, because they are the ones I seem to use the most, everything seems to work as with the dll version.

Function xmlReaderForFile:Int(filename:Byte Ptr,encoding:Byte Ptr,options:Int)
Function xmlFreeTextReader(reader:Int) 
Function xmlTextReaderRead(reader:Int) 
Function xmlTextReaderConstName:Byte Ptr(reader:Int)
Function xmlTextReaderConstValue:Byte Ptr(reader:Int)
Function xmlTextReaderAttributeCount(reader:Int)
Function xmlTextReaderGetAttribute:Byte Ptr(reader:Int,name:Byte Ptr)
Function xmlTextReaderNodeType(reader:Int)
Function xmlTextReaderHasValue(reader:Int)
Function xmlTextReaderReadInnerXml:Byte Ptr(reader:Int)
Function xmlTextReaderReadOuterXml:Byte Ptr(reader:Int)


Function UTF8Toisolat1(out:Byte Ptr,outlen:Int Var ,in:Byte Ptr,inlen:Int Var )
Function isolat1ToUTF8(out:Byte Ptr,outlen:Int Var ,in:Byte Ptr,inlen:Int Var )