display images in newsml
Hi,
I have generated a newsml in that i have added a image tag like below
<ContentItem Href="20041222a_00110100401.jpg">
<MediaType FormalName="HIGHRES" Scheme="SansuiMediaTypes"/>
<MimeType FormalName="Image/Jpeg" Scheme="IptcMimeTypes"/>
<Characteristics>
<SizeInBytes>8066</SizeInBytes>
<Property FormalName="width" Value="3390"/>
<Property FormalName="height" Value="1605"/>
</Characteristics>
</ContentItem>
in my style sheet i have written the below code to display the image
<xsl:for-each select="NewsItem">
<xsl:for-each select="NewsComponent">
<xsl:for-each select="ContentItem">
<img border="0">
<xsl:attribute name="src"><xsl:value-of select="@Href" /></xsl:attribute>
</img>
</xsl:for-each>
</xsl:for-each>
</xsl:for-each>
but in out put its not displaying the images, can any one help me in this
regards
sundaram.s
|