Wrox Programmer Forums
|
ASP Pro Code Clinic As of Oct 5, 2005, this forum is now locked. No posts have been deleted. Please use "Classic ASP Professional" at: http://p2p.wrox.com/forum.asp?FORUM_ID=56 for discussions similar to the old ASP Pro Code Clinic or one of the other many remaining ASP and ASP.NET forums here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP Pro Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 19th, 2005, 12:46 AM
Registered User
 
Join Date: Mar 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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






Similar Threads
Thread Thread Starter Forum Replies Last Post
Display images from lightbox kumiko Classic ASP Basics 2 February 25th, 2008 10:19 PM
xslt to convert from NewsML to Vxml(voicexml) issamxml XSLT 1 May 10th, 2007 03:40 PM
is it possible to display GIF Images uneek_18 Crystal Reports 0 January 16th, 2006 08:03 AM
How To Display Images in DataList abdul_owiusa General .NET 1 May 20th, 2005 09:01 AM
how to display images ? shirley65 C# 2 May 31st, 2004 08:12 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.