Expand description
The design document: the XML tree inside a .ork, kept whole.
OpenRocket publishes no schema for .ork (there is no XSD), and every version has added tags.
So the document is read into a plain tree of elements and text, with nothing thrown away and
nothing interpreted: later milestones walk it into hpr_design types, and whatever they do
not understand is still here to be written back out. Reading and writing are exact inverses:
Document::to_xml followed by Document::parse returns the same document.
Structs§
- Document
- A design document: its schema version, the program that wrote it, and the whole XML tree.
- Element
- An XML element: its name, its attributes in the order they were written, and its children.
- Schema
Version - A
.orkschema version, as written in the root element’sversionattribute.
Enums§
Constants§
- MAX_
DEPTH - How deeply elements may nest before the document is refused.
- MAX_
KNOWN_ MINOR - The
.orkschema versions this reader knows, as1.0up to and including1.MAX_KNOWN_MINOR.