What is difference between getElementsByTagName()
with tagName
and with .//tagName
?
When we pass tagname in the getElementsByTagName()
, in that what is the meaning when we add ".//" ?
What is the difference between
sSourceInputXml
->
getElementsByTagName(_bstr_t(".//author"), &xml2);
and
sSourceInputXml
->
getElementsByTagName(_bstr_t("author"), &xml2);
?
Both return me same number of elements.
Any help is appreciated.