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

Method export_xml

opcua/client/client.py:599–605  ·  view source on GitHub ↗

Export defined nodes to xml

(self, nodes, path)

Source from the content-addressed store, hash-verified

597 return importer.import_xml(path, xmlstring)
598
599 def export_xml(self, nodes, path):
600 """
601 Export defined nodes to xml
602 """
603 exp = XmlExporter(self)
604 exp.build_etree(nodes)
605 return exp.write_xml(path)
606
607 def register_namespace(self, uri):
608 """

Callers 6

test_xml_methodMethod · 0.45
test_xml_varsMethod · 0.45
test_xml_nsMethod · 0.45
test_xml_floatMethod · 0.45
_test_xml_var_typeMethod · 0.45
test_xml_byteMethod · 0.45

Calls 3

build_etreeMethod · 0.95
write_xmlMethod · 0.95
XmlExporterClass · 0.90

Tested by 6

test_xml_methodMethod · 0.36
test_xml_varsMethod · 0.36
test_xml_nsMethod · 0.36
test_xml_floatMethod · 0.36
_test_xml_var_typeMethod · 0.36
test_xml_byteMethod · 0.36