The main function of the xiphoid process is to indirectly provide support to the lower ribs through the cartilages in the celiac plexus and act as the point of attachment for many muscles that help make the floor of the diaphragm.
Hope this helped :)