added some more comments
check before assuming xml data for textual and weather stations exists. Fixing issue #2
oh php, empty("0") === true...