public class SourceTemplate extends Template
<source src=file [encoding=enc name=property eval=true|false reprocess=true|false] >Attributes:
name
is not set (e.g. the content is inserted
in-line, then the content will be run through the normal template
processing before being inserted into the current document.
<source src=xml.tmpl eval=true>
can be used to read in XML templates (or template fragments) that
contain ${...} constructs that get filled in as the template
is read.
The form:
<source src=section1.html reprocess=true>
can be used as a convenient way to break a single logical file into
separate sections. (Note: this isn't currently implemented in a very
efficient way.
Constructor and Description |
---|
SourceTemplate() |
Modifier and Type | Method and Description |
---|---|
void |
tag_source(RewriteContext hr) |
public void tag_source(RewriteContext hr)