From octave-sources-request at bevo dot che dot wisc dot edu Thu Sep 4 09:52:25 2003 Subject: howto return a structure from xml From: Jan-Mark Batke To: octave-sources at bevo dot che dot wisc dot edu Date: Thu, 04 Sep 2003 16:52:29 +0200 Hello octave programmers, 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) content bla 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! Best Jan-Mark -- .- Dipl.-Ing. Jan-Mark Batke -- TU Berlin·Secretary EN 1 --. Phone: +49 30 314-2 45 88 FG Nachrichtenübertragung Fax: +49 30 314-2 25 14 (Telecommunications Group) http://www.nue.tu-berlin.de/wer/batke -----.¸.·¸.·´¯`·.¸.·.