Esempio n. 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'])
Esempio n. 2
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'])
Esempio n. 3
0
 def createAttribute(self, name):
     return Document.createAttribute(self, string.upper(name))
Esempio n. 4
0
 def createAttribute(self, name):
     return Document.createAttribute(self, string.upper(name))