parse ENTITY references declarations  [68] EntityRef ::=
          '&' Name ';'  [ WFC: Entity Declared ] In a document
          without any DTD, a document with only an internal DTD
          subset which contains no parameter entity references, or a
          document with "standalone='yes'", the Name given in the
          entity reference must match that in an entity declaration,
          except that well-formed documents need not declare any of
          the following entities: amp, lt, gt, apos, quot.  The
          declaration of a parameter entity must precede any
          reference to it.  Similarly, the declaration of a general
          entity must precede any reference to it which appears in a
          default value in an attribute-list declaration. Note that
          if entities are declared in the external subset or in
          external parameter entities, a non-validating processor is
          not obligated to read and process their declarations; for
          such documents, the rule that an entity must be declared is
          a well-formedness constraint only if standalone='yes'.  [
          WFC: Parsed Entity ] An entity reference must not contain
           the name of an unparsed entity

def parseEntityRef(self):
        """parse ENTITY references declarations  [68] EntityRef ::=
          '&' Name ';'  [ WFC: Entity Declared ] In a document
          without any DTD, a document with only an internal DTD
          subset which contains no parameter entity references, or a
          document with "standalone='yes'", the Name given in the
          entity reference must match that in an entity declaration,
          except that well-formed documents need not declare any of
          the following entities: amp, lt, gt, apos, quot.  The
          declaration of a parameter entity must precede any
          reference to it.  Similarly, the declaration of a general
          entity must precede any reference to it which appears in a
          default value in an attribute-list declaration. Note that
          if entities are declared in the external subset or in
          external parameter entities, a non-validating processor is
          not obligated to read and process their declarations; for
          such documents, the rule that an entity must be declared is
          a well-formedness constraint only if standalone='yes'.  [
          WFC: Parsed Entity ] An entity reference must not contain
           the name of an unparsed entity """
        ret = libxml2mod.xmlParseEntityRef(self._o)
        if ret is None:raise parserError('xmlParseEntityRef() failed')
        __tmp = xmlEntity(_obj=ret)
        return __tmp