2016 Update
This commit is contained in:
parent
948b86eafa
commit
dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions
17
Task/XML-Output/VBScript/xml-output.vb
Normal file
17
Task/XML-Output/VBScript/xml-output.vb
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
Set objXMLDoc = CreateObject("msxml2.domdocument")
|
||||
|
||||
Set objRoot = objXMLDoc.createElement("CharacterRemarks")
|
||||
objXMLDoc.appendChild objRoot
|
||||
|
||||
Call CreateNode("April","Bubbly: I'm > Tam and <= Emily")
|
||||
Call CreateNode("Tam O'Shanter","Burns: ""When chapman billies leave the street ...""")
|
||||
Call CreateNode("Emily","Short & shrift")
|
||||
|
||||
objXMLDoc.save("C:\Temp\Test.xml")
|
||||
|
||||
Function CreateNode(attrib_value,node_value)
|
||||
Set objNode = objXMLDoc.createElement("Character")
|
||||
objNode.setAttribute "name", attrib_value
|
||||
objNode.text = node_value
|
||||
objRoot.appendChild objNode
|
||||
End Function
|
||||
Loading…
Add table
Add a link
Reference in a new issue