As we know, we can write the launch files in ROS2 using Python, XML, and YAML.
According to my research, writing launch files using Python opens up access to a number of advanced functionalities, but on the other hand it also makes writing launch files a bit more complex as compared to writing them in XML.
Now, I am trying to figure out, can we make the launch files written in XML equally smart to writing them using Python.
My specific question is, do we have Event Handlers for lifecycle nodes and System Modes, in XML?