Python have a XML modules to parse trees. You can use it to store and receive data from text files (.xml extension is not required). There is many editors to edit trees (See Links below to find one).


Loading filesEdit

#importing module as ET for easiest writing

from xml.etree import ElementTree as ET

#parse file test.xml. In result we get ET.ElementTree object

#print the main node name
print mainnode.tag


        <textnode>this is a text inside a node.</textnode>


Editors to edit xml treeEdit

From HowTo Wiki, a Wikia wiki.

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.