Dear all, I am having problem to display different images on the screen. below is my XML and XSLT codes. Can someone please help to solve this problem. Below XSLT code does not display the images, it only display the names and text
Thanx.
XML:
-----------------------------------
<description>
<name>California Hotel</text>
<text>Situated close to the city centre</text>
<image>calif.jpeg</image>
</description>
<description>
<name>Zanzi Hotel</text>
<text>Beach Area</text>
<image>zanzi.jpeg</image>
</description>
---------------------------------------
XSLT:
<xsl:value-of select="description/name"/>
<xsl:value-of select="description/text"/>
<img src="description/image/{@image.jpeg}" border="0" height="90" alt="name of hotel"/>
I also use this method but still not working/displaying:
<img src="description/image/{@image}.jpeg"/>
.......
Thanx.
XML:
-----------------------------------
<description>
<name>California Hotel</text>
<text>Situated close to the city centre</text>
<image>calif.jpeg</image>
</description>
<description>
<name>Zanzi Hotel</text>
<text>Beach Area</text>
<image>zanzi.jpeg</image>
</description>
---------------------------------------
XSLT:
<xsl:value-of select="description/name"/>
<xsl:value-of select="description/text"/>
<img src="description/image/{@image.jpeg}" border="0" height="90" alt="name of hotel"/>
I also use this method but still not working/displaying:
<img src="description/image/{@image}.jpeg"/>
.......