is it possible - inside of an odt - to store data in a variable for later use?
I pass in functions to my odt and call them to retrieve certain data that is used multiple times. I would like to store the data after first retrieval and then access the variable.
(Sergi Almacellas Abellana)
Yes, you should use genshi variable binding
Thank you Pokoli,
For anybody looking for the same, here is how I did it. Simply use:
<with vars="x = your_get_data_function()">
Value of x: <x>
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.