Re: [xml] Get text content of an element which surrounds another element
- From: Bogdan Cristea <cristeab gmail com>
- To: rbondue ext orange com, Nikolay Sivov <bunglehead gmail com>, libXml <xml gnome org>
- Subject: Re: [xml] Get text content of an element which surrounds another element
- Date: Mon, 21 Oct 2013 10:26:05 +0200
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]