qt讀取xml節(jié)點內屬性的值 qt怎么獲得xml文件中的特定節(jié)點?
qt怎么獲得xml文件中的特定節(jié)點?使用qxmlstreamreader::readelementtext()讀取節(jié)點的內容。如果使用SRC,則使用If(Muxml->name().attribu
qt怎么獲得xml文件中的特定節(jié)點?
使用qxmlstreamreader::readelementtext()讀取節(jié)點的內容。如果使用SRC,則使用If(Muxml->name().attributes().value(id)==big8)SRC=Muxml->name()。屬性()。值(SRC)應可用。