Question : My Xslt file wont read the XML file

XSLT file:
<?xml version="1.0" encoding="utf-8"?><!-- DWXMLSource="website.xml" -->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" encoding="utf-8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
<xsl:template match="/">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>My Website</title>
<link href="styles.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div id="contmain">
<div id="main">
<div id="header">
 <div id="logo">
      <h1>Welcome to my Bio</h1>
      <h2></h2>
      </div>
      <div id="menu">
            <ul>
                  <li></li>
                  <li></li>
                  <li></li>
                  <li></li>
                  <li></li>
            </ul>
      </div>      
<!-- end header -->
</div>
<!-- start page -->
<div id="page">
      <!-- start content -->
      <div id="content">
            <div class="box">
                  <div class="box2">
                  <h4>Welcome To My BIO</h4>
                  <p class="title_back"></p>
                  <p class="title_back"><img src="images/1funmonkey.jpg" alt="blah" width="75" height="69" align="middle" longdesc="http://www.sidiscool.com" /></p>
           
                  <br /><br />
           
                  <h2> <xsl:for-each select="website/navigate/link"></h2>
            <div class="title_back"><h2><xsl:value-of select="pname"/></h2>
                  <h2><xsl:value-of select="xmlsrc"/></h2>
                  <h2><xsl:value-of select="xslsrc"/></h2>
                          </xsl:for-each>

                  
             <p><img src="images/alienmovie.jpg" alt="" width="98" height="116" /><br /></p>
  <br />
  <br />
  <br />
<p> Steve Samuel Design : 2010 </p>
            
                    </div>
                </div>
                  </div>
      <!-- end content -->
      <!-- start sidebar two -->
      <div id="sidebar2" class="sidebar">
            <ul>
                  <li>
                        <h2></h2>
                        <div class="title_back"></div>
                  </li>
                  <li>
                        <h2></h2>
                        <div class="title_back"></div>
               
                  </li>
                  <li></li>
                  <li>
                        <h2></h2>
                        <div class="title_back"><img src="images/MyPainting2.jpg" alt="" width="175" height="175" /> </div>
               
                  </li>
            <li>
                        <h2>iuy</h2>
                        <div class="title_back"></div>
                  </li>
           
            </ul>
       
     
      </div><!-- end sidebar two -->
      <div id="bottom" style="clear: both;">
    </div>
    </div><!-- end page -->
<!-- start footer -->
<div id="footer">
      
      <p>Design by Stephen Samuel</p>
</div>
</div>
</div>
<!-- end footer -->
</body>
</html>

</xsl:template>
</xsl:stylesheet>
Attachments:
 
xml file
 

Answer : My Xslt file wont read the XML file

if you like to switch choose manage identities in the same window
Random Solutions  
 
programming4us programming4us