TT3: /home/abw/web/london/tt3/slides/examples/commands1.tt3

Template Source

[? COMMANDS WRAPPER INCLUDE ?] [% INCLUDE product/info WRAPPER layout/product %]--EOF--

Source Tokens

tag_start@0[?
whitespace@2
control commands@3COMMANDS
whitespace@11
variable@12WRAPPER
whitespace@19
variable@20INCLUDE
whitespace@27
tag_end@28?]
text@30\n\n
tag_start@32[%
whitespace@34
command include@35INCLUDE
whitespace@42
filename@43product
filename@50/
filename@51info
whitespace@55 \n
command wrapper@60WRAPPER
whitespace@67
filename@68layout
filename@74/
filename@75product
whitespace@82\n
tag_end@83%]
eof@85

Parse Tree

text@30\n\n
into keyword@60WRAPPER
Template
filename element@68layout/product
Block
fill keyword@35INCLUDE
Template
filename element@43product/info

Variables Used

Generated Output

TT3 resource error at line 4 of /home/abw/web/london/tt3/slides/examples/commands1.tt3:
Error: Requested template resource not found: layout/product
Source: WRAPPER layout/product
^ here