[xml] Skipping nodes
- From: "divij" <divij innomedia co in>
- To: <xml gnome org>
- Subject: [xml] Skipping nodes
- Date: Wed, 4 Feb 2009 16:31:29 +0530
Title: Message
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]