Commit fd6be789 authored by Robert Henzel's avatar Robert Henzel

added <!Doctype Bassyst> to export files

parent d07dc2f3
......@@ -3,7 +3,11 @@ function docNode = getDocNode(transFunc, inputImp, bsName)
xml = getXMLStrings();
docNode = com.mathworks.xml.XMLUtils.createDocument(xml.DocType);
domImpl = docNode.getImplementation();
doctype = domImpl.createDocumentType(xml.DocType, [], '');
docNode.appendChild(doctype);
docRootNode = docNode.getDocumentElement;
% docRootNode.setAttribute('attr_name','attr_value');
versionNode = docNode.createElement(xml.Version);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment