在VB中如何新建2級結點
o root = odoc . createelement(" root")
Set odoc . Document element = o root
o root . Set attribute"部門編號"," 897"
'添加子節點
Set on ode = odoc . createelement(" Document")
on ode . text =" demo"
oo root . appendchild on ode
Set ode = odoc . createelement("創建日期")
o root.appendchild onodeappendchild on child
-
0條評論