diff --git a/doc/usermanuals/DD4hep/chapters/basics.tex b/doc/usermanuals/DD4hep/chapters/basics.tex
index d82d1dc99c65de9b48573c6863469dc60492ea8d..5157d857d86e3b5143dee5e94faa9c828e1bbaa7 100644
--- a/doc/usermanuals/DD4hep/chapters/basics.tex
+++ b/doc/usermanuals/DD4hep/chapters/basics.tex
@@ -1104,7 +1104,7 @@ where the above default values for the \texttt{XML} attributes \texttt{rmin1=0},
 \texttt{rmax2=rmax1}, \texttt{startphi=0} and \texttt{deltaphi=$2\times\pi$}
 are used if not explicitly stated in the \texttt{XML} element \texttt{e}.
 The corrsponding XML snippet looks like this:
-\begin{minted}[frame=single,framesep=3pt,breaklines=true,tabsize=2,linenos,fontsize=\small]{c++}
+\begin{minted}[frame=single,framesep=3pt,breaklines=true,tabsize=2,linenos,fontsize=\small]{xml}
   <some_element type="ConeSegment" rmin1="value" rmax="value" rmin2="value" rmax2="value" dz="value" startphi="value" deltaphi="value"/>
 \end{minted}