Hi,
I transform XML data in an OutputStream which is open as a word document.
All works fine excepted the images defined in the xsl file which are html
links (src="images/image1.jpg").
So, when I save the word document in a particular place, the image can't be
displayed cause the path is no good anymore.
I would like to merge the images in the word document without any external
html links.
Any idea?
aspx file :
XslTransform xslt = new XslTransform();
xslt.Load(cvXSL Chemin);
xslt.Transform( xPathXMLData,nu ll,Response.Out putStream,null) ;
Response.Conten tType = "Applicatio n/msword";
Response.Flush( );
Response.Close( );
......
XSL file :
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:styleshe et xmlns:xsl='http ://www.w3.org/1999/XSL/Transform'
version='1.0'>
<xsl:output method="html" media-type="applicati on/msword"/>
<xsl:template match="/">
<html><body>
<img width="126" height="91" src="images/image1.jpg"/></TD>
<xsl:value-of select="//Qualification"/>
.....
Regards.