I'm generating a documentation with sphinx and i would like to include some xml examples that are stored in separate files. Is it possible to include an external xml file in such a way that the output doc uses the proper highlighting?
I tried .. include:: file.xml inside my rst. but the highlighting was broken and I could not fix it.