code: def serialize(self, occur=None):
          
          fmt = self.ser_format.get(self.name, SchemaNode._default_format)
          return fmt(self, occur) % (escape(self.text) +
                                     self.serialize_children())
docs: Return RELAX NG representation of the receiver and subtree.