[stringtemplate-interest] Default delimiters in group files.
Kunle Odutola
Kunle_Odutola at hotmail.com
Mon Oct 23 05:31:14 PDT 2006
> Kunle Odutola wrote:
> >> Big XML file doesn't suggest lots of small templates.
>
> It's a big file with a deep, repetitive structure, and hence lots of
> repetitive elements - a group file is just what I need.
>
> My project has about 30 sub-templates - some nested 5 or 6 deep - and I'm
> only about halfway through.
Use $..$ rather than <..> as your delimiters since you're dealing with
template-ized XML content. That should leave none or just a few instances of
<<..>> as your begin/end marker for multi-line templates in the .stg file.
Kunle
More information about the stringtemplate-interest
mailing list