Harman Patil (Editor)

Kid (templating language)

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

Kid is a simple template engine for XML-based vocabularies written in Python. Kid claims to have many of the best features of XSLT, TAL, and PHP, but "with much of the limitations and complexity stamped out".

Kid initially acted as the View component of the TurboGears framework in the framework's version 1.x implementation; however, the TurboGears project team has since replaced it with Genshi, citing perceived performance advantages.

Kid is used by the Fedora Project in the repoview utility which creates a set of static HTML pages within a YUM repository.

Example

Python part:

Template part:

References

Kid (templating language) Wikipedia