<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def mapped_type(self, tchain, p_elem):
 """Handle types that are simply mapped to RELAX NG."""

        SchemaNode("data", p_elem).set_attr("type",
                                            self.datatype_map[tchain[0].arg])