Hi All,
          I just want to know that using the xmlReader API can we skip
the node, I am using the following code to skip the node: -
 
 
===================================
int check_for_element(xmlTextReaderPtr reader)
{
   const xmlChar *elname;
   int stat;
 
   elname=xmlTextReaderName(reader);
   printf("ename:%s\t",elname);   
   return(xmlTextReaderNext(reader));      
}
===================================
 
===================================
while(ret == 1) {
      ret=xmlTextReaderRead(reader);   
      sibling_stat=check_for_element(reader);
}

===================================
 
But It is not giving the desired result.
 
Regards
Divij K
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to