MCPcopy Create free account
hub / github.com/FreeOpcUa/python-opcua / export_xml

Method export_xml

opcua/server/server.py:520–526  ·  view source on GitHub ↗

Export defined nodes to xml

(self, nodes, path)

Source from the content-addressed store, hash-verified

518 return importer.import_xml(path, xmlstring)
519
520 def export_xml(self, nodes, path):
521 """
522 Export defined nodes to xml
523 """
524 exp = XmlExporter(self)
525 exp.build_etree(nodes)
526 return exp.write_xml(path)
527
528 def export_xml_by_ns(self, path, namespaces=None):
529 """

Callers 1

export_xml_by_nsMethod · 0.95

Calls 3

build_etreeMethod · 0.95
write_xmlMethod · 0.95
XmlExporterClass · 0.90

Tested by

no test coverage detected