Return RELAX NG representation of the receiver and subtree.

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