xmllint: Fix --insert option Make sure that parent is an element when calling xmlValidGetValidElements.