Extending product function with VBA : The System Architect object model : Object model classes : Encyclopedia class : Encyclopedia class: Methods : SetXMLEx
  
SetXMLEx
require-text
Syntax
Encyclopedia Object.SetXMLEx(strXML, ICollision, bFromFile, bValidate)
Parameters
Encyclopedia Object
Use: Required
Data type: Object
Any instantiated Encyclopedia class
StrXML
Use: Required
Data type: String
When bFromFile is set to True, then this is a valid .xml file name, from which System Architect is importing the XML code. When bFromFile is set to false, then this is the encyclopedia XML string.
ICollision
Use: Required
Data type: Long
Collision options:
0: Never overwrite an existing definition or diagram
1: If the definition exists, get all properties for it, delete it, recreate it, repopulate the properties.
2: Update single fields when data supplied
3: Update single fields - clear field if no data
256: Always replace existing diagram
bFromFile
Use: Required
Data type: Boolean
If True, then the method will import XML from the file named in the strXML parameter. If False, then the method will populate strXML with the encyclopedia XML string.
bValidate
Use: Required
Data type: Boolean
If True then the XML string will be validated by the parser.
See also
Encyclopedia class: Methods