initial code to leverage lxml to create xml for saving and loading core sessions
This commit is contained in:
parent
1d355d98ec
commit
d05bc9240a
9 changed files with 597 additions and 9 deletions
|
@ -7,6 +7,7 @@ import os.path
|
|||
|
||||
from core.enumerations import NodeTypes
|
||||
from core.misc import nodeutils
|
||||
from core.xml import corexml
|
||||
from core.xml.xmlparser import core_document_parser
|
||||
from core.xml.xmlwriter import core_document_writer
|
||||
|
||||
|
@ -34,3 +35,4 @@ def save_session_xml(session, filename, version):
|
|||
"""
|
||||
doc = core_document_writer(session, version)
|
||||
doc.writexml(filename)
|
||||
corexml.CoreXmlWriter(session).write(filename + ".test")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue