how to add a image in xsl

Here should go questions about transforming XML with XSLT and FOP.
maigupta
Posts: 2
Joined: Mon Apr 19, 2010 3:29 pm

how to add a image in xsl

Post 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.
maigupta
Posts: 2
Joined: Mon Apr 19, 2010 3:29 pm

Re: how to add a image in xsl

Post 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.
Radu
Posts: 9433
Joined: Fri Jul 09, 2004 5:18 pm

Re: how to add a image in xsl

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply