diff options
Diffstat (limited to 'Tools/px4params/xmlout.py')
-rw-r--r-- | Tools/px4params/xmlout.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tools/px4params/xmlout.py b/Tools/px4params/xmlout.py index e845cd1b1..ee95f9b67 100644 --- a/Tools/px4params/xmlout.py +++ b/Tools/px4params/xmlout.py @@ -6,6 +6,10 @@ class XMLOutput(): impl = getDOMImplementation() xml_document = impl.createDocument(None, "parameters", None) xml_parameters = xml_document.documentElement + xml_version = xml_document.createElement("version") + xml_parameters.appendChild(xml_version) + xml_version_value = xml_document.createTextNode("1") + xml_version.appendChild(xml_version_value) for group in groups: xml_group = xml_document.createElement("group") xml_group.setAttribute("name", group.GetName()) |