在VB中如何新建2級結點

在VB中如何新建2級結點,第1張

在VB中如何新建2級結點,第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

-

位律師廻複

生活常識_百科知識_各類知識大全»在VB中如何新建2級結點

0條評論

    發表評論

    提供最優質的資源集郃

    立即查看了解詳情