Re: [xml] Get text content of an element which surrounds another element



On 10/21/2013 09:58 AM, rbondue ext orange com wrote:
Hello,

Second, I don't know how to obtain the text after <img> element which
still belongs to <h1> element. s there a way to do so ?
It is my understanding that this is what xmlNodeGetContent() is for. Just remember that you will have to free 
the string returned.
Indeed, I get the entire text from the element, but I need to know exactly where the embedded element appears inside the text, so this function has no use in this case.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]