XML lecture notes