Sorry for the late reply...
right now VTD-XML doesn't implement multiple context object, because a=20
context
object is a global variable so you can use it across procedures... and =
we=20
have yet to
come across a scenario where multiple context object is needed...
the best way to check whether a node has child or not is navigate to it =
and=20
check
the result value...
if (vn.toElement(VTDNav.FC) =3D=3D false)
{// no child
}
else {
vn.toElement(VTDNav.P); // return to the orginal node
// has child...
}
let me know if there is any further question...
|