![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: Write Readed Values >Thread Next - Re: Write Readed Values Re: Write Readed ValuesTo: NULL Date: 3/1/2005 9:42:00 AM Hello Elisabete, I try
hr = pXMLNodeList->get_item(i, &pXMLNode);
bstr_t bstrText = pXMLNode->text;
printf("%s", bstrText);
But the compiler say error C2039: 'text': is not a member of 'IXMLDOMNode;
Regards
Leo
"liscerq" <liscerq@g...> wrote in message
news:1109669760.843264.33120@o......
> Hi,
>
> as I understood you want to print the value of the node which has the
> name "site".
>
> After the line:
> hr = pXMLNodeList->get_item(i, &pXMLNode);
>
> you get the node:
> pXMLNode
>
> so what you have to do now is only to get the node value by calling the
> IXMLNode member function "text":
> bstr_t bstrText = pXMLNode->text
>
> and now print it:
> printf("%s", bstrText);
>
>
> I hope this was your question :)
> Elisabete.
>
| ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
