W
warmfish
Unregistered / Unconfirmed
GUEST, unregistred user!
代码如下:
.....
AnsiString ansiTemp="<?xml version=/"1.0/"?>/
<Tip> /
<Mode> /
<a>ff</a> /
</Mode> /
</Tip>";
pXMLDoc->loadXML(WideString(ansiTemp));
pNodeList=pXMLDoc->getElementsByTagName(WideString("Tip");
int iNumber=pNodeList->get_length();
....
问题: iNumber=0 ,为什么?
.....
AnsiString ansiTemp="<?xml version=/"1.0/"?>/
<Tip> /
<Mode> /
<a>ff</a> /
</Mode> /
</Tip>";
pXMLDoc->loadXML(WideString(ansiTemp));
pNodeList=pXMLDoc->getElementsByTagName(WideString("Tip");
int iNumber=pNodeList->get_length();
....
问题: iNumber=0 ,为什么?