============= Import/Export ============= .. function:: model.loadXmlModels(filePath(s) | url(s) | fileContent) Load XML models from the file. :filePath: File path to XML model. :url: URL to XML model. :fileContent: Content of XML model. For every new model new namespace is created with next index after last added namespace. Namespace index 0 reserved for default namespace 'http://opcfoundation.org/UA/'. If model with same URI already exists, it will be merged with the new one. .. function:: model.exportXml(output, [namespaceUris]) Export XML models to the file. If namespaceUris is not provided, all namespaces will be exported. :output: File path or callback function to export XML models. :namespaceUris: Array of namespace URIs to export. :returns: nil :throws: error in case of errors.