convert NodeSeq-based XML views to Mustache templates