| 346 | // |
| 347 | |
| 348 | void writeToXmlStream(DocumentPtr doc, std::ostream& stream, const XmlWriteOptions* writeOptions) |
| 349 | { |
| 350 | xml_document xmlDoc; |
| 351 | xml_node xmlRoot = xmlDoc.append_child("materialx"); |
| 352 | documentToXml(doc, xmlRoot, writeOptions); |
| 353 | xmlDoc.save(stream, " "); |
| 354 | } |
| 355 | |
| 356 | void writeToXmlFile(DocumentPtr doc, const FilePath& filename, const XmlWriteOptions* writeOptions) |
| 357 | { |
no test coverage detected