def _parseXpathScope(self):
        """ Update xpath and scope property when refsDecl is updated

        :returns: Scope, Xpath
        """
        rd = self.refsDecl
        matches = REFSDECL_SPLITTER.findall(rd)
        return REFSDECL_REPLACER.sub("?", "".join(matches[0:-1])), REFSDECL_REPLACER.sub("?", matches[-1])
Update xpath and scope property when refsDecl is updated

        :returns: Scope, Xpath