qdomnode专题

QDomNode 的 nodeValue() 为空

QDomNode的nodeValue()为空的原因与解决 · 大专栏 <tid>12345678</tid> 其实是  <tid><text>12345678</text></tid> 要取到 “12345678” 这个值不能直接用 node.nodeValue,而要用node.firstChild().nodeValue()