To address data from an XML input, XQuery uses XPath.
It makes it easy to filter data and restructure it.
Given the following XML input
<?xml version="1.0" encoding="UTF-8"?>
<applications>
<application>
<id>MyApp</id>
<name>My...