octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #45951] Add "xmlread" to core Octave or replac


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #45951] Add "xmlread" to core Octave or replace the one in io package
Date: Mon, 05 Oct 2015 22:48:50 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0

Follow-up Comment #12, bug #45951 (project octave):

I attached xmlread.m and xmlwrite.m. There is a demo in each if you want to
test and give me feedback.

None of the matlab documented examples work out of the box but it is not a
show stopper:
* xmlread example[1]: dom elements don't have a getMethods method so Octave
fails to list their methods using "methods" function. A try/catch can be added
and the example works fine.
* xmlwrite example [2]: ML uses its own implementation of some classe to
create a dom document. The workaround is a two liner described in the demo.

[1] http://fr.mathworks.com/help/matlab/ref/xmlread.html
[2] http://fr.mathworks.com/help/matlab/ref/xmlwrite.html 

(file #35078, file #35079)
    _______________________________________________________

Additional Item Attachment:

File name: xmlread.m                      Size:2 KB
File name: xmlwrite.m                     Size:3 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45951>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

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