当前位置:编程学习 > VB >>

VB XML节点属性值读取和修改

有这样一个xml file,现在想用VB 修改黑体的属性值,该怎么做呢?
<Recipe Path="d:\test.xml" NumberOfTests="4">
  <AutomationSetting TestIds="0 1 2 3 4" EnableDieRegistration="False" IsReticle="False" /> 
  <RecipeInfo MachineId="AAA" DeviceId="BBB" StepId="CCC" NotchDirection="2" NotchDirectionString="bottom" Radius="150" DieRegistrationRejectPercentage="80" ReticleSize="0 0" ReticleOrg="0 0" DieSize="20.791908 27.156754" FirstDieOrigin="-10.464208 -27.054075" Version="1010a" EdgeSize="3" CreateTime="03/05/2013 09:41:43" RecipeName="YECONCDCACMPM" CreateAuthor="" LastModifyTime="03/05/2013 17:36:16" LastModifyAuthor="" SoftwareVersion="2.0.2.31928" /> 
</Recipe>


先谢过了! XML VB Path --------------------编程问答-------------------- 引用xml,装载xml文件,selectsinglenode找到节点,setattribute设置属性值
补充:VB ,  基础类
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,