Answer the question
In order to leave comments, you need to log in
is it possible to add to xml file
there is an xml file with nodes
<root>
<minute0>
<minute1>
<minute2>
<minute3>
Answer the question
In order to leave comments, you need to log in
stackoverflow.com/questions/4788633/insert-a-node-for-an-element-in-xml-with-python-elementtree
With a probability of 98% it is impossible.
First, the RFC requires an XML document to have a single root node, but not all parsers follow the standard. The standard Windows MSXML used in .NET follows.
Second, it depends on the XML parsing method used, even if the parsing library allows multiple root nodes.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question