[stringtemplate-interest] C# 3.0?

Kunle Odutola Kunle_Odutola at hotmail.com
Wed Nov 29 04:13:11 PST 2006


Hi,

> I think my problem is group files. The documentation (both the html file
> in the zip and the wiki) load a group file using a string reader, and
> then hints that they are named with ".stg". I have large templates that
> would best go in a .st file (such as an xml file), but I also have lots
> of little templates that I'd like in a .stg file. How does one have the
> .stg file reference other templates or groups that they extend??

Use the group inheritance feature. Have the group that manages your .st
templates (groupST) be the supergroup of the .stg based ST group (groupSTG).

Templates in groupSTG can then refer to templates in groupST as usual and
they will be located (assuming unique names across both groups).

Kunle



More information about the stringtemplate-interest mailing list