Microsoft
Software
Hardware
Network
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.o
rg/1999/XS
L/Transfor
m
">
<xsl:output method="html" encoding="utf-8" doctype-public="-//W3C//DT
D XHTML 1.0 Transitional//EN" doctype-system="
http://www
.w3.org/TR
/xhtml1/DT
D/xhtml1-t
ransitiona
l.dtd
"/>
<xsl:template match="/">
<html xmlns="
http://www.w3.org/1
999/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.sidis
cool.com
" /></p>
<br /><br />
<h2> <xsl:for-each select="website/navigate/l
ink"></h2>
<div class="title_back"><h2><xs
l: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.jp
g" 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:
website.xml
(745 bytes)
(File Type Details)
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
SharePoint list image link
VBA assistance
Barracuda Load Balancer 340 - balances fine but real servers cannot connect to Interenet
Treeview control that support thumbnails or images.
identical javascript code works in one website but not in another?
secure emails
Count/sum items between dates
Edge Sync Fails
Show gridlines in visio diagram saved as jpg file.
Setting up wireless on a Cisco 1811