Advertisement
Advertisement
| 03.22.2008 at 04:09AM PDT, ID: 23261295 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: 73: 74: 75: 76: |
books.xml:
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="books.xsl"?>
<!DOCTYPE booklib [
<!ELEMENT booklib (book+, writer+) >
<!ELEMENT book (genre,title,author,year,price+,review*,link)>
<!ELEMENT writer (name,wikientry,bio)>
<!ELEMENT genre (#PCDATA)>
<!ELEMENT title (#PCDATA)>
<!ELEMENT author (#PCDATA)>
<!ELEMENT year ANY>
<!ELEMENT price ANY>
<!ATTLIST price edition CDATA "paperback">
<!ELEMENT review (#PCDATA)>
<!ELEMENT link (#PCDATA)>
<!ELEMENT name (#PCDATA)>
<!ELEMENT wikientry ANY>
<!ELEMENT bio ANY>
]>
<booklib>
<book>
<genre>sci-fi</genre>
<title>Dune</title>
<author>Frank Herbert</author>
<year>1965</year>
<price edition="paperback">7.99</price>
<price edition="hardcover">19.77</price>
<review>A must-read for sci-fi fans, although somewhat overrated</review>
<review>Fear is the Mind Killer</review>
<link>http://en.wikipedia.org/wiki/Dune_%28novel%29</link>
</book>
----------------------
books.xsl
<?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>
<head>
<link rel="stylesheet" type="text/css" href="books.css"/>
</head>
<body>
<h2>My Book Collection</h2>
<table border="1">
<tr bgcolor="#9acd32">
<th>Genre</th>
<th>Title</th>
<th>Author</th>
</tr>
<xsl:for-each select="booklib/book">
<xsl:sort select="genre" />
<tr>
<td><xsl:value-of select="genre" /></td>
<td><xsl:value-of select="title" /></td>
<td><xsl:value-of select="author" /></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
-----
books.css
author {
color: red;
}
|