views:

375

answers:

1

I have a .vm (Velocity) file which is run to generate a DOC file. I want to have a very simple header and footer in this resultant DOC file. How can I write code in .vm file for this. I do not want to include header and footer files as external files. I want simple code in the same .vm file. Please help!!!

+1  A: 

Without including a separate file? Just write the HTML. The following code is an extract from a vm file:

<div class="footer">
    <div class="footerlinks">
    <ul>
        <li class="first">Something</li>
    </ul>
 </div>
</div>
Leah