BOOL %XML_SaveDocument( INT in document, TEXT in fileName[, TEXT in encoding = "utf-8"] [,BOOL in useProcInstruction] )
document | Handle to XML document. |
fileName | File name. |
encoding | Encoding in which the document will be saved. You can use "utf-8" or "windows-1250". |
useProcInstruction | Disables the displaying of the procedural instruction <?xml version="1.0" encoding="xxx"?>, where "xxx" defines encoding, which is in fact in the "encoding" parameter. |
@TRUE
- document saved, @FALSE
- cannot save the document.BOOL _ok _ok := %XML_SaveDocument(_doc, "c:\data.xml")
Pridať komentár