TT3: /home/abw/web/london/tt3/slides/examples/commands2.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/commands2.tt3:
Error: Requested template resource not found: layout/product
Source: wrapper layout/product
^ here