Re: extracting value other than element and attribute
"yuki latt" <[email protected]> Tue, 5 Aug 2008 10:44:15 +0900
| Newsgroups | gmane.text.xml.expat.general |
|---|---|
| Message-ID | <[email protected]> |
Hello,
My problem is solved. :) I found three things.
1) XML file should not have unnecessary indent between tag.
2) I have to reallocate the memory to avoid core dumped.
3) To get rid of recursive calls, I used break for while loop of
"while(strstr(xmlData,"</element>")!=NULL)". After searching xmlData until
end_tag is found no more, while loop stop.
Thank you so much for your ideas and kind help. :)
regards,
yuki