Exemplo n.º 1
0
def parseString(doc):
  return Document(_cODP.ODP_parseString(doc))
Exemplo n.º 2
0
def parseFile(f):
  if type(f) is StringType:
    return Document(_cODP.ODP_parseFile(f))
  else:
    doc=f.read()
    return Document(_cODP.ODP_parseString(doc))
Exemplo n.º 3
0
def ODP_parseString(*args):
    return _cODP.ODP_parseString(*args)