I'm building an application and it's very important to me to know how to get this information. In LXDE, there is /usr/share/lubuntu/openbox/menu.xml that lists all the programs that can be executed from the LXDE menu.
For that reason, I'd like to know if there is some .xml file that is responsible for the organization of the Ubuntu Dash Home like the one in LXDE?
I understand from the comments that the OP likes the output from the linked code but would like the information placed into an xml file that can be queried.
Her'es how to modify the script given at Get contents of .desktop files to process the output into an XML file.