class_docstr: Etree wrapper using lxml.etree or standard xml.etree
docstr: Create the wrapper
docstr_tok: ["Create","the","wrapper"]
code: def __init__(self):
      """Create the wrapper"""
      from xml.etree import ElementTree as _py_etree
  
      self._py_etree = _py_etree
      try:
          from lxml import etree as _lxml_etree
  
          self._lxml_etree = _lxml_etree
      except ImportError:
          self._lxml_etree = None
  
      if os.getenv("NO_LXML", None):
          self._etree = self._py_etree
      else:
          self._etree = self._lxml_etree or self._py_etree
      self.lxml = self._etree is self._lxml_etree
  
imports: import os
label_desc: Use image node_id 1 to create a new Etree object from inherited base classes: object with example: obj = Etree()