> Could someone please help me find a post which I think I remember seeing here recently?> It was about a templating engine for HTML which used xpath to fill in certain parts of already existing HTML templates.
> The cool thing about it was that the HTML was already "presentable" before the filling in took place.
Not xpath based, but Template Attribute Language in its various implementations has that quality, plus the advantage that templates are valid HTML/XML even before rendering:
https://en.m.wikipedia.org/wiki/Template_Attribute_Language
This means that not only are templates "presentable" prior to rendering, they are round-tripable between developers' and designers' tools, facilitating collaboration.