Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Performs import.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
XML | 5.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
none
Returns OK or error.
Import on server:
Set Variable [$text; Value:MBS("Text.ReadTextFile"; "/Users/cs/Desktop/test.xml"; "UTF-8")]
Set Variable [$r; Value:MBS("XML.Import"; $text; ""; "")]
Set Variable [$text; Value:""]
If [MBS("IsError") = 0]
Set Variable [$total; Value:MBS("XML.Import.Total")]
Loop
Set Variable [$work; Value:MBS("XML.Import.Work")]
Set Variable [$status; Value:MBS("XML.Import.Status")]
Exit Loop If [$status ≠ "Working"]
End Loop
End If
This function checks for a license.
Created 10th November 2015, last changed 2nd February 2023