Using hreflang in sitemap

I am using hreflang between main codes on a global website. My codes are as follows:

<link rel=”alternate” href=”https://example.com/en/” hreflang=”en” /> <link rel=”alternate” href=”https://example.com/tr/” hreflang=”tr” /> <link rel=”alternate” href=”https://example.com/en/” hreflang=”x-default” /> 

Other than these codes, should I use hreflang in the sitemap?

<url> <loc>https://example.com/</loc> <xhtml:link                  rel="alternate"                  hreflang="en"                  href="https://example.com/en/" />  <xhtml:link                  rel="alternate"                  hreflang="tr"                  href="https://example.com/tr/" />  <xhtml:link                  rel="alternate"                  hreflang="x-default"                  href="https://www.deezer.com/en/" /> </url>