Apply templates on a map/topicref element to process inner topics.