Insert kind in XML