<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href="/parts/xsltdoc.xsl" type="text/xsl" media="screen"?><xsl:stylesheet version="1.0"  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"  xmlns="http://www.w3.org/1999/xhtml"  xmlns:rss="http://purl.org/rss/1.0/"  xmlns:dc="http://purl.org/dc/elements/1.1/"  exclude-result-prefixes="rdf rss dc"> <xsl:template name="_doas_description">  <rdf:RDF xmlns="http://purl.org/net/ns/doas#">   <rdf:Description rdf:about="">    <title>RSS presentation stylesheet</title>    <description>This stylesheet is designed to convert RSS to a list in XHTML.</description>    <author rdf:parseType="Resource">     <name>Masahide Kanzaki</name>     <homepage rdf:resource="http://www.kanzaki.com/"/>    </author>   </rdf:Description>  </rdf:RDF> </xsl:template> <xsl:template match="/">  <xsl:apply-templates select="rdf:RDF"/> </xsl:template> <xsl:template match="rdf:RDF">  <html xml:lang="ja" lang="ja">   <xsl:apply-templates select="rss:channel"/>   <body>    <xsl:call-template name="banner"/>    <h1><xsl:value-of select="rss:channel/rss:title"/> as RSS</h1>    <p class="lead"><a href="/">The Web KANZAKI</a>のコンテンツ情報を<a href="/docs/sw/rss.html" title="当サイト「RSS -- サイト情報の要約と公開」">RSS</a> (RDF Site Summary) のスタイルで試験的に提供しています。<xsl:value-of select="rss:channel/rss:description"/></p>    <ol class="items">     <xsl:apply-templates select="rss:item"/>    </ol>    <xsl:call-template name="footer">     <xsl:with-param name="cy">2001</xsl:with-param>     <xsl:with-param name="status">Status: RSS updated <xsl:value-of select="rss:channel/dc:date"/>. <a href="/info/navi#status-exp" title="This system is still experimental">Exp</a></xsl:with-param>    </xsl:call-template>   </body>  </html> </xsl:template> <xsl:template match="rss:channel">  <head>   <title><xsl:value-of select="rss:title"/> as RSS</title>   <link rel="stylesheet" href="/parts/kan01.css" type="text/css" />   <style type="text/css">   li {margin-top:0.2em}   li p {display:none; margin:0.2em 0 0.5em 2em}   .box {font-family: monospace; background:#eee;cursor:pointer; border:1px solid gray}   button {height:1.6em;width:1.6em;margin-right:0.3em;padding: 1px 3px}   </style>   <script>   function showHide(x){    var marker = x.parentNode.firstChild.firstChild;    var para = x.parentNode.getElementsByTagName("p").item(0);    if(marker.data == "＋"){     para.style.display ="block";     marker.data = "‐";    }else{     para.style.display ="none";     marker.data = "＋";    }   }   </script>  </head> </xsl:template> <xsl:template match="rss:item">  <li><button class="box" title="クリックして概要の表示/非表示を切り替え" onclick="showHide(this)">＋</button> <a><xsl:attribute name="href"><xsl:value-of select="rss:link"/></xsl:attribute><xsl:value-of select="rss:title"/></a> (<xsl:value-of select="dc:date"/>)<br /><p><xsl:value-of select="rss:description"/></p></li> </xsl:template> <xsl:include href="./banner-footer.xsl"/></xsl:stylesheet>