We describe an approach for mediation of heterogeneous XML schemas. With XML mediation layer we manage: (1) establishing mappings between the global schema and the schemas of the sources; (2) querying XML sources in terms of the global schema.