I'm trying to use Jinja to walk through a JSON tree and render each "node" 
in the tree using different macros based on the information in the node.

Is there a way to call a macro "by name" in a template? That is, in a 
template, can I take a string, use it to look up the macro by that name, 
and then call the macro?

Even if it requires writing an extension, I don't mind writing one, but I 
can't figure out from the limited extension documentation how I would do it 
that way either.

Thanks,

Matt

-- 
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pocoo-libs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to