By default, the processed template output is printed to STDOUT. The process() method then returns 1 to indicate success.Just get rid of the "print" in front of "$tt->process(..", and your "1" will disappear.
"XML is like violence: if it doesn't solve your problem, use more."
In reply to Re^3: Printing a strange 1 on page.
by NetWallah
in thread Printing a strange 1 on page.
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |