ScottInTexas
10-26-2003, 10:54 PM
The image in this XML file doesn't show up.
XSL File =
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<link rel='stylesheet' href='styles.css' type='text/css' />
<body>
<h1><xsl:value-of select="resume/name" /></h1>
<div id="photoImg" border="none" clear="left"><xsl:value-of select="resume/photo" /></div>
etc., etc.
XML File =
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="resume.xsl" ?>
<resume>
<photo><img src="images/TravisOn6X6.jpg" width="482" height="361" alt="" border="0" /></photo>
<name>Scott Stewart</name>
<licno >1234567890</licno>
Everything else shows up correctly. In a stand alone HTML file the img shows up correctly.
Thanks for the help.
XSL File =
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<link rel='stylesheet' href='styles.css' type='text/css' />
<body>
<h1><xsl:value-of select="resume/name" /></h1>
<div id="photoImg" border="none" clear="left"><xsl:value-of select="resume/photo" /></div>
etc., etc.
XML File =
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="resume.xsl" ?>
<resume>
<photo><img src="images/TravisOn6X6.jpg" width="482" height="361" alt="" border="0" /></photo>
<name>Scott Stewart</name>
<licno >1234567890</licno>
Everything else shows up correctly. In a stand alone HTML file the img shows up correctly.
Thanks for the help.