コード例 #1
0
    def __init__(self):
        Document.__init__(self, None)
        # These only make sense in a browser environment, therefore
        # they never change
        self.__dict__['__referrer'] = ''
        self.__dict__['__domain'] = None
        self.__dict__['__URL'] = ''

        self.__dict__['__cookie'] = ''
        self.__dict__['__writable'] = 0
        self.__dict__['_html'] = vars(sys.modules['pyxml.dom.html'])
コード例 #2
0
ファイル: HTMLDocument.py プロジェクト: RedTea/gaedav
    def __init__(self):
        Document.__init__(self, None)
        # These only make sense in a browser environment, therefore
        # they never change
        self.__dict__['__referrer'] = ''
        self.__dict__['__domain'] = None
        self.__dict__['__URL'] = ''

        self.__dict__['__cookie'] = ''
        self.__dict__['__writable'] = 0
        self.__dict__['_html'] = vars(sys.modules['pyxml.dom.html'])
コード例 #3
0
 def createAttribute(self, name):
     return Document.createAttribute(self, string.upper(name))
コード例 #4
0
ファイル: HTMLDocument.py プロジェクト: RedTea/gaedav
 def createAttribute(self, name):
     return Document.createAttribute(self, string.upper(name))