diff --git a/doc/usermanuals/DD4hep/chapters/basics.tex b/doc/usermanuals/DD4hep/chapters/basics.tex
index 659b6affa445f8d3c679f5a61cba7094ea305610..d1fffd2d3d59b7a55f0d5c471d605a35fd19e18e 100644
--- a/doc/usermanuals/DD4hep/chapters/basics.tex
+++ b/doc/usermanuals/DD4hep/chapters/basics.tex
@@ -1173,7 +1173,7 @@ Defaults are: \texttt{theta=0},  \texttt{phi=0},  \texttt{alpha1=0},  \texttt{al
 Trapezoid(e.x1(), e.x2(), e.y(), e.z(0))
 \end{minted}
 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="Trapezoid" x1="value" x2="value" y="value" z="value"/>
 \end{minted}
 The Trapezoid is also aliased to Trd2.