Page 1 of 1

how to add a image in xsl

Posted: Mon Apr 19, 2010 3:39 pm
by maigupta
Hi All,

i am working on Asp.net project, in that i m using xslt for generating word document at run time, but now i need to put Header & Footer in Xslt and want to provide one logo image in left side of Header.
please help me out that how i can make it possible.

Please answer all about...
1. How to add Header & Footer in xsl
2. How to Add Image in Header area
3. how to make xsl field read only.

Re: how to add a image in xsl

Posted: Wed Apr 21, 2010 11:09 am
by maigupta
maigupta wrote:Hi All,

i am working on Asp.net project, in that i m using xslt for generating word document at run time, but now i need to put Header & Footer in Xslt and want to provide one logo image in left side of Header.
please help me out that how i can make it possible.

Please answer all about...
1. How to add Header & Footer in xsl
2. How to Add Image in Header area
3. how to make xsl field read only.

Re: how to add a image in xsl

Posted: Wed Apr 21, 2010 11:45 am
by Radu
Hi,

You cannot add header and footer to an output directly from the XSLT transformation. If you are using Oxygen, it allows you to specify the header and footer for an XSLT transformation, if not you will have to perform an automated task (using ANT for example) which takes the content of the file generated by the XSLT transformation and sets the header and footer to it.

Regards,
Radu