BOOL %XML_ImportD2ObjFromDocument( INT in document, TEXT in importSettings INT in expSubDirMode )
document | Handle to the XML document. |
importSettings | XML Import settings (optional parameter) in form [setting={on/off} [setting={on/off} [...]]]. |
expSubDirMode | Mode (optional parameter) that defines setting the attribute "Export subdirectory" of object after finished import. |
0 | @SDM_KEEP_VALUE | Keep value of attribute as it was originally set in the configuration of object. |
1 | @SDM_DEL_VALUE | Delete value of attribute in the configuration of object. |
3 | @SDM_SET_SOURCE | Set value of attribute as it is defined in the imported XML data. |
BOOL _ok INT _doc _ok := %XML_ImportD2ObjFromDocument(_doc)
BOOL _ok INT _doc _ok := %XML_ImportD2ObjFromDocument(_doc, "uid_strict=off uid_usexml=on")
Pridať komentár