Re: [xml] xmlNodePtr->prev, ->parent



On Sat, 18 Aug 2001, Ignacio Vazquez-Abrams wrote:

Am I correct in believing that the first/top node has its prev/parent field
set to itself? If so, why itself instead of NULL?

*sigh*

Never mind, I think I'm looking at a loop:

  xmlNodePtr->next->prev(->next->prev->next->prev->...)

Oops :)

-- 
Ignacio Vazquez-Abrams  <ignacio openservices net>





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