Esempio n. 1
0
 def _get_text(self):
     text = u''
     for frag in self.frags:
         if isinstance(frag, six.string_types):
             text += frag
         else:
             text += frag.text
     from z3c.rml.special import do_eval
     return do_eval(text)
Esempio n. 2
0
 def _get_text(self):
     text = u''
     for frag in self.frags:
         if isinstance(frag, six.string_types):
             text += frag
         else:
             text += frag.text
     from z3c.rml.special import do_eval
     return do_eval(text)
Esempio n. 3
0
 def text(self):
     text = u''
     for frag in self.frags:
         if isinstance(frag, basestring):
             text += frag
         else:
             text += frag.text
     from z3c.rml.special import do_eval
     return do_eval(text)
Esempio n. 4
0
 def text(self):
     text = u''
     for frag in self.frags:
         if isinstance(frag, basestring):
             text += frag
         else:
             text += frag.text
     from z3c.rml.special import do_eval
     return do_eval(text)