xml文档的4个关键词:

节点(节点对象.child("节点名"))、节点内容(节点对象.text()

属性(节点对象.attribute("属性名"))、属性值(属性对象.value()

句柄:

pugi::xml_node node = doc.child("node"); //节点句柄

pugi::xml_attribute id = param.attribute("name"); //属性句柄

相关文章:

  • 2022-12-23
  • 2021-08-19
  • 2021-07-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-26
  • 2022-12-23
相关资源
相似解决方案