I have a docx file consisting of images .
Help me out in getting images from the [document.xml] file. I am using xsl to parse the docx file to html.
The part of the code (xsl) is wriiten down here.
<
xsl:for-each select="//w:sdt/w:sdtContent
">
<xsl:for-each select="w:p/w:r">
<p><xsl:value-of select="w:t"/></p>
<xsl:for-each select="w:p/w:r" >
<xsl:for-each select="w:drawing/a:graphic/a:graphicData/pic:pic">
<xsl:for-each select="pic:nvPicPr/pic:cNvPr">
<img alt="" src="{$imgSrc}"/>
</xsl:for-each>
</xsl:for-each>
</xsl:for-each>
</xsl:for-each>
<p><xsl:value-of select="w:r/w:t"/></p>
</xsl:for-each>
I am passing the [imgSrc] in <xsl:param name="imgSrc"/>
This code works for the text part but the issue is that I am not able to get the image at all.
Please help me out.