Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
14
Task/XML-Output/MATLAB/xml-output.m
Normal file
14
Task/XML-Output/MATLAB/xml-output.m
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
RootXML = com.mathworks.xml.XMLUtils.createDocument('CharacterRemarks');
|
||||
docRootNode = RootXML.getDocumentElement;
|
||||
thisElement = RootXML.createElement('Character');
|
||||
thisElement.setAttribute('Name','April')
|
||||
thisElement.setTextContent('Bubbly: I''m > Tam and <= Emily');
|
||||
docRootNode.appendChild(thisElement);
|
||||
thisElement = RootXML.createElement('Character');
|
||||
thisElement.setAttribute('Name','Tam O''Shanter')
|
||||
thisElement.setTextContent('Burns: "When chapman billies leave the street ..."');
|
||||
docRootNode.appendChild(thisElement);
|
||||
thisElement = RootXML.createElement('Character');
|
||||
thisElement.setAttribute('Name','Emily')
|
||||
thisElement.setTextContent('Short & shrift');
|
||||
docRootNode.appendChild(thisElement);
|
||||
Loading…
Add table
Add a link
Reference in a new issue