XML: Learning by Example