#### PyKDE - Python Bindings for KDE

# class DOM.Element

Table of contents
Modules
khtml Classes
All Classes

Module | khtml
Class | DOM.Element
Inherits | DOM.Node

### methods

- Element ()

  returns a Element instance

- Element (other)

  returns a Element instance

  Argument | Type | Default
  --- | --- | ---
  other | DOM.Node |

- Element (other)

  returns a Element instance

  Argument | Type | Default
  --- | --- | ---
  other | DOM.Element |

- Element (_impl)

  Not Implemented

- contentEditable ()

  returns (bool)
  In versions KDE 3.2.0 and above only

- form ()

  returns (DOM.Element)
  In versions KDE 3.1.0 and above only

- getAttribute (name)

  returns (DOM.DOMString)

  Argument | Type | Default
  --- | --- | ---
  name | DOM.DOMString |

- getAttributeNS (namespaceURI, localName)

  returns (DOM.DOMString)

  Argument | Type | Default
  --- | --- | ---
  namespaceURI | DOM.DOMString |
  localName | DOM.DOMString |

- getAttributeNode (name)

  returns (DOM.Attr)

  Argument | Type | Default
  --- | --- | ---
  name | DOM.DOMString |

- getAttributeNodeNS (namespaceURI, localName)

  returns (DOM.Attr)

  Argument | Type | Default
  --- | --- | ---
  namespaceURI | DOM.DOMString |
  localName | DOM.DOMString |

- getElementsByTagName (name)

  returns (DOM.NodeList)

  Argument | Type | Default
  --- | --- | ---
  name | DOM.DOMString |

- getElementsByTagNameNS (namespaceURI, localName)

  returns (DOM.NodeList)

  Argument | Type | Default
  --- | --- | ---
  namespaceURI | DOM.DOMString |
  localName | DOM.DOMString |

- hasAttribute (name)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  name | DOM.DOMString |

- hasAttributeNS (namespaceURI, localName)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  namespaceURI | DOM.DOMString |
  localName | DOM.DOMString |

- isHTMLElement ()

  returns (bool)

- khtmlMalformedPrefix (name)

  returns (bool)
  static

  Argument | Type | Default
  --- | --- | ---
  name | DOM.DOMString |

- khtmlMalformedQualifiedName (name)

  returns (bool)
  static

  Argument | Type | Default
  --- | --- | ---
  name | DOM.DOMString |

- khtmlValidAttrName (name)

  returns (bool)
  static

  Argument | Type | Default
  --- | --- | ---
  name | DOM.DOMString |

- khtmlValidPrefix (name)

  returns (bool)
  static

  Argument | Type | Default
  --- | --- | ---
  name | DOM.DOMString |

- khtmlValidQualifiedName (name)

  returns (bool)
  static

  Argument | Type | Default
  --- | --- | ---
  name | DOM.DOMString |

- normalize ()

  returns nothing
  In versions less than KDE 3.1.2 only

- removeAttribute (name)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  name | DOM.DOMString |

- removeAttributeNS (namespaceURI, localName)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  namespaceURI | DOM.DOMString |
  localName | DOM.DOMString |

- removeAttributeNode (oldAttr)

  returns (DOM.Attr)

  Argument | Type | Default
  --- | --- | ---
  oldAttr | DOM.Attr |

- setAttribute (name, value)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  name | DOM.DOMString |
  value | DOM.DOMString |

- setAttributeNS (namespaceURI, qualifiedName, value)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  namespaceURI | DOM.DOMString |
  qualifiedName | DOM.DOMString |
  value | DOM.DOMString |

- setAttributeNode (newAttr)

  returns (DOM.Attr)

  Argument | Type | Default
  --- | --- | ---
  newAttr | DOM.Attr |

- setAttributeNodeNS (newAttr)

  returns (DOM.Attr)

  Argument | Type | Default
  --- | --- | ---
  newAttr | DOM.Attr |

- setContentEditable (enabled)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  enabled | bool |

- style ()

  returns (DOM.CSSStyleDeclaration)

- tagName ()

  returns (DOM.DOMString)