Get the qualified value of attribute named 'a'.
(self, a, tns)
| 407 | self.type = self.__getref('type', tns) |
| 408 | |
| 409 | def __getref(self, a, tns): |
| 410 | """ Get the qualified value of attribute named 'a'.""" |
| 411 | s = self.root.get(a) |
| 412 | if s is None: |
| 413 | return s |
| 414 | else: |
| 415 | return qualify(s, self.root, tns) |
| 416 | |
| 417 | |
| 418 | class Message(NamedObject): |