Morning All.
I have loaded my XML doucment and am trying to extract one of the attributes from an XML tag. The XML Tag I am working with looks like:
<SDComponent Name="Average" ComponentOid="_040g02g0g0001ko7047074srq0200">
I tried using the lines below to no avail. It just returns back nonsense.
CString componentDetails;
componentDetails = pComponentNode->Getattributes();
Ideally I want to be able to call a function, pass in the attribute name and get the value of that attribute back. Can anybody point me in the right direction?
Thanks
I have loaded my XML doucment and am trying to extract one of the attributes from an XML tag. The XML Tag I am working with looks like:
<SDComponent Name="Average" ComponentOid="_040g02g0g0001ko7047074srq0200">
I tried using the lines below to no avail. It just returns back nonsense.
CString componentDetails;
componentDetails = pComponentNode->Getattributes();
Ideally I want to be able to call a function, pass in the attribute name and get the value of that attribute back. Can anybody point me in the right direction?
Thanks