aif-ng/aif/config.py

20 lines
436 B
Python
Raw Normal View History

import os
##
from lxml import etree
2019-10-28 01:26:31 -04:00
# https://stackoverflow.com/questions/30232031/how-can-i-strip-namespaces-out-of-an-lxml-tree/30233635#30233635 ?
class Config(object):
def __init__(self):
self.xml = None
def parseLocalFile(self, fpath):
fpath = os.path.abspath(os.path.expanduser(fpath))
pass
def parseRemoteFile(self, url):
pass
def parseRawContent(self, content):
pass