declare variable $additionalClass := "example";
<p class="important {$additionalClass} obsolete"/>