[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [xml] Obtain "Next Child" using tree
- From: Daniel Veillard <veillard redhat com>
- To: Niels Van Hoef <niels vanhoef gmail com>
- Cc: xml gnome org
- Subject: Re: [xml] Obtain "Next Child" using tree
- Date: Tue, 25 Sep 2007 18:26:54 -0400
On Tue, Sep 25, 2007 at 09:54:07PM +0200, Niels Van Hoef wrote:
> Hi,
>
> 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
> code.
>
> 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
> labVIEW.
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.
Daniel
--
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard | virtualization library http://libvirt.org/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]