XML parser?!

  • Igor

    Igor - 2012-01-25

    Hi everyone!

    Is there ANY way to parse XML using GDL?

    For reading XML-files in IDL I use IDLffXMLDOMDocument class. In fact I have an IDL-program which uses this class to read and parse XML-files, but it seems GDL does not support this feature yet. At least it says "% OBJ_NEW: Procedure not found: IDLFFXMLDOMDOCUMENT__DEFINE". Also I tried to use embedded Python function but it seems only scalars and numpy arrays can be returned from a python-function call. Not a whole DOM-tree or a python Document object or something else useful to write a wrapper in GDL.

    Can you help me with an advice? I realy-realy don't want to write my own XML-parser or (what is even worse) to rewrite my whole program in Python… :)


  • Alain C.

    Alain C. - 2012-01-27

    We have no plan now, contributions welcome !

  • Igor

    Igor - 2012-02-02

    OK, I see. :)
    Solved the problem using Python. Looks like a hack but works. :)


Log in to post a comment.