I have this xml snippet:
<author name= "Smith, john" >
and I am writing an xpath parser this way:
I know that I can get it by using just the first query,
( //book[@id='bk102'] )
but what if I want to use the one above? I don't get anything back from selectNodes.
MSXML2::IXMLDOMNodeListPtr pXMLNodeList = NULL;
pXMLNodeList = pXMLDoc->selectNodes("//book[@id='bk102']//book[@genre ='Other']//book[price=30.00]");
Thanks in advance.