ExportXmlΒΆ
scene.spad line 3896 [edit on github]
This package provides support for XML
files
- writeVRML: (XmlElement, String) -> Void
writeVRML(content, filename)
writes the element asVRML2
.VRML2
is notxml
but it has the same semantics and node names asX3D
but a different syntax so it makes sense to create anXML
structure and then format the output differently.
- writeXml: (XmlElement, String) -> Void
writeXml(content, filename)
writes anxml
element and all the elements below it to anxml
file. This assumes that all elements, in a file, have a single root which is usually the case.