help-octave
[Top][All Lists]
Advanced

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

Re: howto return a structure from xml


From: Rafael Laboissiere
Subject: Re: howto return a structure from xml
Date: Thu, 4 Sep 2003 17:15:59 +0200
User-agent: Mutt/1.5.4i

* Jan-Mark Batke <address@hidden> [2003-09-04 16:52]:

> how can I build a structure within a octave function written
> in c++?
> 
> My aim is to 
> 1. give a filename.xml to a octave function (works)
> 
> retval = readxml(name);
> 
> 2. parse the xmlfile with help of libxml2 (works)
>    <block1>
>         <block2>content</block2>
>    </block1>
>    <block3>bla</block3>
> 
> 3. retval should hold the xml structure, 
> 
> retval = root {
>               block1 {
>                      block2 = content;
>                      }
>               block3 = bla;
>               }
> (no idea so far)       
> 
> I am pretty new to octave programming; any help (which
> manual to read etc - found nothing in liboctave doc) would
> be appreciated!

[ Moving to help-octave, to which this thread should belong. ]

Take a look at StatDataML
(http://cran.r-project.org/src/contrib/PACKAGES.html#StatDataML)

I put together a (highly) experimental Debian package for it at the
following apt-getable repository:

    deb http://people.debian.org/~rafael/R ./
    deb-src http://people.debian.org/~rafael/R ./

The upstream author is currently reworking the Octave interface for
StatDataML to take advantage of the new cell matrix data type.

-- 
Rafael



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]