If only nodes are showing in the sitemap then you likely need to go to Admin CP > Setup > Options > XML sitemap generation and make sure that you have "Thread" checked under "Include sitemap content"
If that is already checked, go to Admin CP > Tools > Rebuild caches > and run the "Rebuild sitemap" job to see if anything changes.