-TEMP=$(cat ${FIL} | xmlstarlet sel -t -v "//weatherstation[1]//@value")
-STASJON=$(cat ${FIL} | xmlstarlet sel -t -v "//weatherstation[1]//@name")
-TIME_ZULU=$(cat ${FIL} | xmlstarlet sel -t -v "//weatherstation[1]//@time" | tr T ' ')
+TEMP=$(cat ${FIL} | xmlstarlet sel -t -v "//weatherstation[1]/temperature/@value")
+STASJON=$(cat ${FIL} | xmlstarlet sel -t -v "//weatherstation[1]/@name")
+TIME_ZULU=$(cat ${FIL} | xmlstarlet sel -t -v "//weatherstation[1]/temperature/@time" | tr T ' ')