def _following_siblings(
            self, qname: Union[QualName, bool] = None) -> List[InstanceNode]:
        """XPath - return the list of receiver's following siblings."""
        if qname and self.qual_name != qname:
            return []
        res = []
        en = self
        for _ in self.after:
            en = en.next()
            res.append(en)
        return res
def _following_siblings ( self , qname : Union [ QualName , bool ] = None ) -> List [ InstanceNode ] : if qname and self . qual_name != qname : return [ ] res = [ ] en = self for _ in self . after : en = en . next ( ) res . append ( en ) return res
XPath - return the list of receiver's following siblings.