3 ms·
> 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
by webmaven 6y ago
> 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 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.
- forgotmypw17 6y agoThank you! That's not the link I remember but helpful also.