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

2013-10-21 Thread rbondue.ext
Hello, > Second, I don't know how to obtain the text after element which > still belongs to 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. Regards, Romain Bondue ___

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

2013-10-21 Thread Bogdan Cristea
On 10/21/2013 09:58 AM, rbondue@orange.com wrote: Hello, Second, I don't know how to obtain the text after element which still belongs to 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 s

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

2013-10-21 Thread Bogdan Cristea
On 10/20/2013 06:53 PM, Nikolay Sivov wrote: On 10/20/2013 19:13, Bogdan Cristea wrote: First, I am puzzled by the way I can obtain the text contained by h1 element. I am using the node from a previous xmlTextReaderRead() call. If I try to obtain the current node in XML_READER_TYPE_TEXT case t