[xml] xmlTextReaderRead and position movement
- From: Jeremy Enos <jenos ncsa uiuc edu>
- To: xml gnome org
- Subject: [xml] xmlTextReaderRead and position movement
- Date: Mon, 13 Jun 2005 17:53:09 -0500
<noob issue>
I'm having a strange issue with xmlTextReaderRead. The API text says it
moves the position to the next node in the stream. I use
xmlTextReaderRead in loopA, and then in sub loopB within loopA as well.
i.e. I intend to read all the way through a given branch in loopB
before returning to loopA and moving on.
However, it's not behaving as I expected. I am querying the depth in
each loop, and for some reason, after I call xmlTextReaderRead in loopB,
it seems to reset to the top of the tree again. Does this make sense?
Is there a precise description of how xmlTextReaderRead works
somewhere? I'm most certainly missing something easy here.
</noob issue>
thx-
Jeremy
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]