[stringtemplate-interest] Top-Down automatic attribute aggregation?

Dreyer Ulf (CR/APA3) Ulf.Dreyer at de.bosch.com
Tue May 16 08:02:23 PDT 2006


Hi! 

I would like to automate the process of filling templates 
with attributes. 
The scenario is as follows: 
I have one root-template which calls al other needed templates. 
The data is in tree-form analogous to the templates. 

I would like to parse a xml file with all the data into the topmost
template. 
With the automation provided by template.setAttribute I am only able to 
construct attributes bottom-up. 
Is there some easy way to construct a full tree of data (which does
nocht resolve 
to fixed classes with getAttribute methods) and feed it to the root
template? 

Regards, 
Ulf Dreyer 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org:8080/pipermail/stringtemplate-interest/attachments/20060516/c903ac71/attachment.html


More information about the stringtemplate-interest mailing list