django-xsltAn XSLT template system for Django | |
Download |
django-xslt Ranking & Summary
Advertisement
django-xslt Tags
django-xslt Description
An XSLT template system for Django django-xslt is a replacement for Django's template system based on XSLT.XSLT is a powerful templating lanaguage and this package extends it further with the ability to render to XML any Django context object (including querysets).Some XSLT examplesIterating over a queryset context object and rendering the username and the id.< xsl:for-each select="xdjango:users()//user" > < span id="{@id}">< /span >< /xsl:for-each >Spitting out the MEDIA_ROOT from the Django settings file.< img src="{xdjango:settings.MEDIA_ROOT()}/images/boo.jpg"/ >Project structureThis is a contrib package and as such it designed to be installed into Django itself.This project comes with a demoapp which is included to illustrate how to add xslt to any project but also to facilitate unit testing of the current code. Requirements: · Python · Django
django-xslt Related Software