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

📄 summary.xsl

📁 Bookcase 是一个用于KDE的个人的书籍管理。它使用XML文件存储格式
💻 XSL
字号:
<?xml version="1.0"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"                xmlns:bc ="http://periapsis.org/bookcase/"                version="1.0"><!--   ================================================================   Bookcase summary XSLT file   $Id: summary.xsl,v 1.5 2003/03/22 02:22:53 robby Exp $   Copyright (c) 2003 Robby Stephenson   This XSLT stylesheet is designed to be used with XML data files   from the 'bookcase' application, which can be found at:   http://www.periapsis.org/bookcase/   ================================================================--><xsl:output method="html" version="xhtml" indent="yes"/><xsl:strip-space elements="*"/><xsl:key name="authors" match="bc:book" use="bc:author"/><xsl:template match="/"> <xsl:apply-templates select="bc:bookcase"/></xsl:template><xsl:template match="bc:bookcase"> <html> <head>  <title>Bookcase Summary</title> </head> <body> <xsl:apply-templates select="bc:collection"/> </body> </html></xsl:template><xsl:template match="bc:collection"> <h1> <xsl:value-of select="@title"/> </h1> <hr/> <p> <xsl:text>The collection has </xsl:text> <xsl:value-of select="count(bc:book)"/> <xsl:text> books.</xsl:text> </p></xsl:template></xsl:stylesheet><!-- Local Variables: --><!-- sgml-indent-step: 1 --><!-- sgml-indent-data: 1 --><!-- End: -->

⌨️ 快捷键说明

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