Re: [xml] Obtain "Next Child" using tree

On Tue, Sep 25, 2007 at 09:54:07PM +0200, Niels Van Hoef wrote:

I'm currently developing a new software application in labVIEW using
libXML to create new XML files. Implementing the "writer" went
smoothly but now I'm stuck at reading the XML back into memory from
file and stepping through it.

Since I'm writing my code in labVIEW, I can only make some schematic
representation of which functions I'm calling and not past the actual

xmlParseFile (returns me a DocPtr)
xmlDocGetRootElement (returns me a NodePtr)

At this point normal C code would look like this:

cur = cur->xmlChildrenNode;
      while (cur != NULL) {

Unfortunately labVIEW doesn't allow me to do this, I can only do
functions calls. I'm kind of looking for a function "xmlGetNextChild"
(similar to xmlGetLastChild) or a work-around that I can implement in

  I don't know labVIEW, but that sounds a very serious bug in their bindings
if they didn't provide this, you should ask them.


Red Hat Virtualization group
Daniel Veillard      | virtualization library
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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