This article covers a Hippo CMS version 7.7. There's an updated version available that covers our most recent release.

Reuse relativecontentpath from parent sitemap item 

For the hst:relativecontentpath of a sitemapitem, you can reuse the value of the parent item through ${parent}

Thus instead of

sitemap
  ` news  (relativecontentpath = 'news')
      `**     (relativecontentpath = 'news/${1}')

you can use

sitemap
   ` news  (relativecontentpath = 'news')
       ` **     (relativecontentpath = '${parent}/${1}')