Header and Footer of output

Now the header and footer can be change to
support vendor specific XQuery expressions.

Change-Id: Ic3a5948fefd0580a9e88c19719910ded9aceb6a2