(self, context)
| 240 | #print type(self.value) |
| 241 | return self.attr+[self.value] |
| 242 | def evaluate(self, context): |
| 243 | value = copy(self.value) |
| 244 | value.attributes = copy(value.attributes) |
| 245 | for attribute in self.attr: |
| 246 | attribute_evaluated=context.evaluate(attribute) |
| 247 | value.attributes[attribute_evaluated.key] = attribute_evaluated.value |
| 248 | return value |
| 249 | XMLtag = "OMATTR" |
| 250 | if __name__ == '__main__': |
| 251 | print OMV("x") |