added syntax support for xplan html templates