XML Pro's:
I am trying to create an XML page that displays one simple image for testing....I've searched and found several examples to work from, but still no luck. Could someone look at this and correct me where I'm wrong--all I get is the broken link symbol in my browser. I am beginning with the basics and will build upon this, once the image is working for me. My image path is C:/Webshpere/images/jx41d.jpg
XML PAGE....
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="testImage3.xsl" ?>
<img>
<picture location="/WebsphereWork/images/jx41d.jpg">
</picture>
</img>
XSL PAGE.......
<?xml version="1.0"?>
<xsl:stylesheet
version="1.0"
xmlns:xsl=" xmlns="
<xsl:template match="/">
<IMG BORDER="0">
<xsl:attribute name="src">
<xsl:value-of select="./picture/@location"/>
</xsl:attribute>
</IMG>
</xsl:template>
</xsl:stylesheet>
---------------------------------------
Any help from the pro's to a beginner would be appreciated!
cramd
I am trying to create an XML page that displays one simple image for testing....I've searched and found several examples to work from, but still no luck. Could someone look at this and correct me where I'm wrong--all I get is the broken link symbol in my browser. I am beginning with the basics and will build upon this, once the image is working for me. My image path is C:/Webshpere/images/jx41d.jpg
XML PAGE....
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="testImage3.xsl" ?>
<img>
<picture location="/WebsphereWork/images/jx41d.jpg">
</picture>
</img>
XSL PAGE.......
<?xml version="1.0"?>
<xsl:stylesheet
version="1.0"
xmlns:xsl=" xmlns="
<xsl:template match="/">
<IMG BORDER="0">
<xsl:attribute name="src">
<xsl:value-of select="./picture/@location"/>
</xsl:attribute>
</IMG>
</xsl:template>
</xsl:stylesheet>
---------------------------------------
Any help from the pro's to a beginner would be appreciated!
cramd