Getting Started > Construct a Template > Example Template

Example Template
An example of a basic template appears below.
#DREREFERENCE <!--id-->
#DREFIELD string1=”<!--string1-->”
#DREFIELD string2=”<!--string2-->”
#DREFIELD string3=”<!--string3-->”
#DRECONTENT
string1=”<!--string1-->” string2=”<!--string2-->” string3=”<!--string3-->”
#DREENDDOC
 
Each html style comment relates to a field that should be inserted. So in this case, if the row returned was:
id string1 string2 string3
2 one two three
 
The idx would be:
#DREREFERENCE 2
#DREFIELD string1=”one”
#DREFIELD string2=”two”
#DREFIELD string3=”three”
#DRECONTENT
string1=”one” string2=”two” string3=”three”
#DREENDDOC
Related Topics 
*