[xml] xmlList* functionality



Hi,

Are there any examples of using 
xmlListCreate, xmlListInsert, xmlListWalk and xmlListWalker

xmlListPtr list;
list = xmlListCreate(NULL, NULL);
if (! (xmlListInsert (list, (void *) "test") ) ) {
  printf ("error\n");
}

I am getting error in the o/p.  Any clues as to what I am doing wrong?
 Any samples for all the List functions is greatly appreciated.

Thanks

Smith



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