Ignore:
Timestamp:
Jun 14, 2005, 6:10:28 PM (18 years ago)
Author:
Michael Brickenstein <bricken@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
4426672c7d26593c5a5cf6d590a6bbd5ef3fdb7c
Parents:
b651ed658210a13bafea82a0ffdd1baa31075eb8
Message:
*bricken: OMBIND encode decode


git-svn-id: file:///usr/local/Singular/svn/trunk@8365 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/openmathserver/omxmlreader.py

    rb651ed r859b51  
    99import os.path
    1010from objects import *
     11from binding import *
    1112from cd import *
     13from exceptions import *
    1214def readFile(input_file_name):
    1315    docstream = open(input_file_name)
     
    6769            children=[self.buildFromNode(c) for c in node.childNodes]
    6870            return OMapplication(children[0],children[1:])
     71        if (node.nodeName=="OMBIND"):
     72            children=[self.buildFromNode(c) for c in node.childNodes]
     73            return OMbinding(children[0],children[1:-1],children[-1])
     74        raise NotImplementedError
    6975    def build(self, root):
    7076        remove_white_space(root)
Note: See TracChangeset for help on using the changeset viewer.