Genshi Renderer for Salt

salt.renderers.genshi.render(genshi_data, saltenv=u'base', sls=u'', method=u'xml', **kws)

Render a Genshi template. A method should be passed in as part of the kwargs. If no method is passed in, xml is assumed. Valid methods are:

Note that the text method will call NewTextTemplate. If oldtext is desired, it must be called explicitly

Return type:A Python data structure