Advertisement
Advertisement
| 03.18.2008 at 09:29PM PDT, ID: 23252643 |
|
[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: |
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:variable name="doc1" select="."></xsl:variable>
<xsl:variable name="doc2" select="document('..\Data\chapters.xml')" />
<xsl:variable name="linksdoc" select="document('..\Data\links.xml')"/>
<xsl:template match="/">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<head>
<title>Policy Documents</title>
</head>
<body>
<table>
<xsl:for-each select="$doc2/chapters/chapter">
<tr>
<td>
<span class="{@style}">
<xsl:value-of select="@id"/>
<xsl:text> </xsl:text><xsl:value-of select="text"/>
<br/>
<br/>
</span>
<xsl:variable name="doc2ID" select="@id"></xsl:variable>
<xsl:for-each select="$doc1/doc/para[@chap = $doc2ID]">
<span class="paraStyle">
<xsl:apply-templates />
<br/>
<br/>
</span>
</xsl:for-each>
</td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
<xsl:template match="item">
<xsl:choose>
<xsl:when test="@showas='number'">
<span class="paraStyle">
<xsl:number/>. <xsl:value-of select="."/><br/>
</span>
</xsl:when>
<xsl:otherwise>
<li class="{@showas}">
<span class="paraStyle">
<xsl:value-of select="."/>
</span>
</li>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="paralink">
<xsl:variable name="plink" select="."/>
<xsl:for-each select="$linksdoc/links/linkref">
<xsl:if test="linkname=$plink">
<a href="{linkurl}" title="{tooltip}">
<xsl:value-of select="linktext"/>
</a>
</xsl:if>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
|