Update xmlapi.php

removed '$' from isset function call