Update xmlgen.php

Shorten the XML Http Request
Update xmlgen.php

Added a shorter piece of code to shorten code but still achieve the same thing.
Merge branch 'master' of https://github.com/elochtefeld38/RKXML