⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sys.color.scheme.xslt

📁 beereader source code
💻 XSLT
字号:
<xsl:stylesheet version='1.0' 
		xmlns:xsl='http://www.w3.org/1999/XSL/Transform'
		xmlns:content = 'http://purl.org/rss/1.0/modules/content/'
		xmlns:xhtml='http://www.w3.org/1999/xhtml'
		xmlns:slash='http://purl.org/rss/1.0/modules/slash/'
		xmlns:dc='http://purl.org/dc/elements/1.1/' >

		<xsl:output method='xml' indent='yes' /> 

		<xsl:template match='/'>
		<html><head><title><xsl:value-of disable-output-escaping='yes'  select='//item/title'/></title>
		<!-- 
			This style uses the windows system named colors to provide a detail color scheme according to your 
			local system color scheme selection.
			For a named color reference have a look to
			http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/colors/colors.asp
		 -->
		<style><![CDATA[
			body		{ font-family:Verdana;Arial; font-size:11pt; margin:0pt; padding:0pt; color: windowtext; background-color: window; }
			table.theHead { 
			  font-family:Verdana;Arial;
			  color:captiontext;
			  cell-padding:2pt;
			  background:activecaption;
			  width:100%;height:30px;
			  border-bottom:2px groove activecaption; 
			}
			.title		{ font-size:14pt;}
			.date		{ font-size:9pt; }
			div.content { font-family:Verdana,Arial;font-size:11pt;margin:10pt;padding:5pt;  }
			td.theHead.title a:link      { color:inactivecaptiontext;text-decoration:none;font-weight:bold; }
			td.theHead.title a:visited   { color:inactivecaptiontext;text-decoration:none; }
			td.theHead.title a:hover		 { color:captiontext;text-decoration:none;font-weight:bold; }
			a:link      { color:threeddarkshadow;text-decoration:none;font-weight:bold; }
			a:visited   { color:threedlightshadow;text-decoration:none;font-weight:bold;}
			a:hover		{ color:threedface;text-decoration:none;font-weight:bold; }
		]]></style>
		</head><body>
		<table class="theHead">
		<tr>
	  	<td class='title' width='75%'>
	    <xsl:value-of disable-output-escaping='yes'  select='//item/title'/><br />
	  	<span style="font-size:9pt;"><a href='{//channel/link}' title='{//channel/description}'><xsl:value-of disable-output-escaping='yes'  select='//channel/title'/></a></span></td>
		  <td class='date' width='25%' valign='bottom' align='right'>
		   <b><xsl:value-of select='//item/subject'/></b><br />
	  	 <xsl:if test='//item/dc:creator'>
	  	  <xsl:text>Creator: </xsl:text>
	  	  <xsl:value-of disable-output-escaping='yes' select='//item/dc:creator'/><br />
	     </xsl:if>
	  	 <xsl:if test='//item/author'>
	  	  <xsl:text>Creator: </xsl:text>
	  	  <xsl:value-of disable-output-escaping='yes' select='//item/author'/><br />
	     </xsl:if>
		   <xsl:value-of select='//item/pubDate'/>
		  </td>
		 </tr>
		</table>
		<div class='content'>
			<xsl:choose>
				<xsl:when test='//item/xhtml:body'>
					<xsl:copy-of select='//item/xhtml:body'/>
				</xsl:when>
				<xsl:when test='//item/content:encoded'>
					<xsl:value-of disable-output-escaping='yes' select='//item/content:encoded'/>
				</xsl:when>
				<xsl:otherwise>
					<xsl:value-of disable-output-escaping='yes' select='//item/description'/>
				</xsl:otherwise>
            </xsl:choose>
			<br/><br/>
			<a href='{//item/link}'><b>Read on...</b></a>
			<xsl:if test='//item/comments'>
				<xsl:text disable-output-escaping='yes'>&amp;nbsp;</xsl:text>
				<xsl:text disable-output-escaping='yes'>&lt;a href='</xsl:text><xsl:value-of  disable-output-escaping='yes' select='//item/comments'/><xsl:text disable-output-escaping='yes'>'&gt;</xsl:text>
						<b><xsl:value-of select='//item/slash:comments'/> Comments...</b>
					<xsl:text disable-output-escaping='yes'>&lt;/a></xsl:text>				
			</xsl:if>			
		</div>
		</body></html>
		</xsl:template>

		</xsl:stylesheet>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -