Learn how to work with industry-standard XML formats on Linux using open-source tools such as xmllint, xmlstarlet, xidel, ...
Push logic away from the server and into the device.