Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - xml element text being concatenated >Thread Next - Re: xml element text being concatenated Re: xml element text being concatenatedTo: NULL Date: 12/6/2005 2:36:00 PM I of course mean the text is being truncated not
concatenated....anyways I also tried using get_nodeValue as I have read
get_text will return the text of all children. I updated to code to
look like this and get the same results.
....
if(wcscmp(attrNameVal.bstrVal, attrName) == 0)
{
//iElement->get_text(&eleText);
iElement->get_firstChild(&iFirstChild);
iFirstChild->get_nodeValue(&elementTextVar);
if(eleText != NULL)
{
return newStringFromBSTR(elementTextVar.bstrVal);
}
}
...
Thanks.
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
