Right now the site is small, but soon it will be thousands of pages. It seems like a waste (and significant performance cost) to instantiate the XPath plugin and parse the sitemap file every time ttree processes a page, since the sitemap stays the same throughout the entire build process. I can't see a way around it, though. Even pre_process gets processed once per template, according to the docs.
Is there any way to do this (i.e. have ttree pre-process a template once and make its context available to all templates that subsequently get processed)?
Also, I noticed a mention of tskel in the following tutorial, but I haven't been able to find locate the tool.
http://template-toolkit.org/tpc5/tt2/
Is tskel available anywhere?
-myk
_______________________________________________ templates mailing list [EMAIL PROTECTED] http://lists.template-toolkit.org/mailman/listinfo/templates
