diff --git a/doc/usermanuals/DD4hep/chapters/basics.tex b/doc/usermanuals/DD4hep/chapters/basics.tex
index 402f4ecc847f77a3ae31bc18ad0fd5d6617e109d..9abd0d1f9daca229f81c3df76080b6d05939cc3a 100644
--- a/doc/usermanuals/DD4hep/chapters/basics.tex
+++ b/doc/usermanuals/DD4hep/chapters/basics.tex
@@ -1255,7 +1255,7 @@ The corrsponding XML snippet looks like this:
 EightPointSolid(e.dz(), vertices);
 \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="EightPointSolid" dz="value">
     <vertex x="x-value" y="y-value"/>
     <vertex x="x-value" y="y-value"/>