Forum Moderators: open
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="textcatalog.xsl"?>
<catalog>
<text>
<book><img alt="business" src="images/business2.jpg" /></book>
<title>Business Data Communications</title>
<edition>5th</edition>
<author>William Stallings</author>
<publisher>Prentice Hall</publisher>
<isbn>0-13-144257-0</isbn>
<year>2004</year>
<cover>Hardcover</cover>
<pages>604</pages>
<price>$ 97.60</price>
</text> <text>
<book><img alt="C++" src="images/cpp2.jpg" /></book>
<title>C++ How to Program </title>
<edition>6th</edition>
<author>Deitel & Associates Inc.</author>
<publisher>Prentice Hall</publisher>
<isbn>0-13-615250-3</isbn>
<year>2007</year>
<cover>Paperback</cover>
<pages>1504</pages>
<price>$ 103.50</price>
</text>
<text>
<book>
<img alt="Career" src="images/career.jpg" />
</book>
<title>Taking Charge of Your Career Direction: Career Planning Guide</title>
<edition>5th</edition>
<author>Robert D. Lock</author>
<publisher>Brooks Cole</publisher>
<isbn> 0-5345-7426-2</isbn>
<year>2004</year>
<cover>Paperback</cover>
<pages>504</pages>
<price>$ 69.25</price>
</text>
<text>
<book>
<img alt="Networking" src="images/net2.jpg" /></book>
<title>Computer Networking: A Top-Down Approach</title>
<edition>4th</edition>
<author>Kurose &Ross</author>
<publisher>Addison Wesley</publisher>
<isbn>0-321-49770-8</isbn>
<year>2005</year>
<cover>Hardcover</cover>
<pages>880</pages>
<price>$ 77.08</price>
</text>
<text>
<book>
<img alt="Computer" src="images/ill.jpg" />
</book>
<title>Computer Science Illuminated </title>
<edition>3rd</edition>
<author>Dale &Lewis</author>
<publisher>Jones &Bartlett Publishers</publisher>
<isbn>0-7637-4149-3</isbn>
<year>2006</year>
<cover>Paperback</cover>
<pages>672</pages>
<price>$ 88.15</price>
</text>
<text>
<book>
<img alt="math" src="images/math.jpg" />
</book>
<title>Discrete Mathematics</title>
<edition>7th</edition>
<author>Richard Johnsonbaugh</author>
<publisher>Prentice Hall</publisher>
<isbn>0-13-135430-2</isbn>
<year>2009</year>
<cover>Paperback</cover>
<pages>766</pages>
<price>$ 76.88</price>
</text>
<text>
<book>
<img alt="Excel" src="images/excel.jpg" />
</book>
<title>Formulas and Functions with Microsoft Office Excel 2007</title>
<edition>1st</edition>
<author>Paul McFedries</author>
<publisher>Pearson Education, Inc</publisher>
<isbn>0-7897-3668-3</isbn>
<year>2007</year>
<cover>Paperback</cover>
<pages>552</pages>
<price>$ 26.39</price>
</text>
<text>
<book>
<img alt="Database" src="images/data.jpg" /></book>
<title>Fundamentals of Database Systems </title>
<edition>5th</edition>
<author>Elmasri & Navathe </author>
<publisher>Addison Wesley</publisher>
<isbn>0-3213-6957-2</isbn>
<year>2006</year>
<cover>Hardcover</cover>
<pages>1168</pages>
<price>$ 88.29</price>
</text>
<text>
<book>
<img alt="Java" src="images/java2.jpg" />
</book>
<title>Java: An Introduction to Problem Solving and Programming</title>
<edition>4th</edition>
<author>Walter Savitch</author>
<publisher>Prentice Hall</publisher>
<isbn>0-13-149202-0</isbn>
<year>2005</year>
<cover>Paperback</cover>
<pages>1060</pages>
<price>$ 79.69</price>
</text>
<text>
<book>
<img alt="Access" src="images/access.jpg" />
</book>
<title>Microsoft Office Access 2007 Forms, Reports, and Queries</title>
<edition>1st</edition>
<author>Paul McFedrie</author>
<publisher>Que Publishing</publisher>
<isbn>0-7897-3669-1</isbn>
<year>2007</year>
<cover>Paperback</cover>
<pages>408</pages>
<price>$ 26.39</price>
</text>
</catalog>
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes" />
<xsl:template match="/">
<html>
<body>
<h2>
<center>Textbook Warehouse</center>
</h2>
<table border="1">
<tr bgcolor="yellow">
<th align="center">Book</th>
<th align="center">Title</th>
<th align="center">Edition</th>
<th align="center">Author</th>
<th align="center">Publisher</th>
<th align="center">ISBN</th>
<th align="center">Year</th>
<th align="center">Cover</th>
<th align="center">Pages</th>
<th align="center">Price</th>
</tr> <xsl:for-each select="catalog/text">
<tr>
<td>
<xsl:value-of select="book"/>
</td>
<td>
<xsl:value-of select="title"/>
</td>
<td>
<xsl:value-of select="edition"/>
</td>
<td>
<xsl:value-of select="author"/>
</td>
<td>
<xsl:value-of select="publisher"/>
</td>
<td>
<xsl:value-of select="isbn"/>
</td>
<td>
<xsl:value-of select="year"/>
</td>
<td>
<xsl:value-of select="cover"/>
</td>
<td>
<xsl:value-of select="pages"/>
</td>
<td>
<xsl:value-of select="price"/>
</td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
what am I not doing right? I tried all sorts of ways, but still not go!
Cheers,
M