I'm using the CVIXML library. When I use the CVIXMLNewDocument
function it creates the handle to a new document, but a file name is
not associated with it. So, when I do CVIXMLSaveDocument it returns an
error.
CVIXMLSaveDocument takes an output file path as an argument. You can pass NULL if you created the document via CVIXMLLoadDocument and you want it to use the load path, but if you created the document from scratch, you must give it a path.