Hi Brucey
In Windos XP: It seems setCompressMode() only works with backslashed files, - and not when there are forward slashes in the filename:
In Windos XP: It seems setCompressMode() only works with backslashed files, - and not when there are forward slashes in the filename:
SuperStrict Import bah.libxml Local doc:TxmlDoc = TxmlDoc.newDoc("1.0") If doc Then Local root:TxmlNode = TxmlNode.newNode("root") doc.setRootElement(root) doc.setCompressMode(9) Local filename:String = "C:/data/test.dat" 'filename = filename.Replace("/","") ' uncomment this line to get compresssion doc.saveFile(filename) End If