On 11/23/01 7:53 PM, "Anthony La Forge" <[EMAIL PROTECTED]> wrote:

> After a bit of searching through the API (particularly context), I've seem to
> run up short.  Effectively I'm looking for a way to see which variables exist
> within a given template

A template doesn't know what references tokens it contains.  I'm not sure
why you need to know that.

> so I can limit what tasks I perform to generate
> content.  

So based on a particular set of token references you want to select a mode
of processing? 

> This would allow me to write one piece of code to respond to all of
> my templates (w/ out writing case specific code and templates).

How so? You're going to need specific code in one form or another to deal
with different templates, but you can localize the logic using a pull tool.
Or a set of pull tools which you can use in all your templates.

> Perhaps 
> someone might have a better idea if such functionality exists, and if not, if
> a work around exists (w/ out the use of a custom or external parser).

Maybe you can provide us with a little use case? I honestly am not sure what
you're trying to do :-)
 
> Regards,
> 
> AGL
> 
> 

-- 

jvz.

Jason van Zyl

http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to