Made getting schema types parameters uniform, and fixed getting and showing of XML on schema types.