Skip to content

#define - Assigns a block of VTL to a reference #14

Description

@jmdcal
import airspeed
d = """
#define( $hello ) Hello $who #end 
#set( $who = "World!") $hello 
"""
t = airspeed.Template(d)
o = t.merge({   })
print o

http://velocity.apache.org/engine/devel/vtl-reference-guide.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions