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.VRML2is notxmlbut it has the same semantics and node names asX3Dbut a different syntax so it makes sense to create anXMLstructure and then format the output differently.
- writeXml: (XmlElement, String) -> Void
writeXml(content, filename)writes anxmlelement and all the elements below it to anxmlfile. This assumes that all elements, in a file, have a single root which is usually the case.