Arun said:
how to put img in xslt file where path of imge is present in xml not
my pat of xml is
<root>
<img>
<banner ban="C:/Documents and Settings/Administrator/Desktop/hariom/
xml/b.GIF"></banner>
</img>
<root>
It is not clear what you want to achieve. Putting an image into xslt
does not make much sense to me. If you want to put an image into the
HTML document that your XSLT stylesheet creates then that makes a lot
more sense. You simply need to transform the XML to HTML e.g. with a
template using an attribute value template
<xsl:template match="img">
<img src="file:///{banner/@ban}"/>
</xsl:template>
Note however that browsers rendering the HTML document might refuse to
load an image from the local file system for security reasons if the
HTML document is served over HTTP.