lrb.xsl

来自「JPluck是一个基于Java的工具集」· XSL 代码 · 共 20 行

XSL
20
字号
<?xml version="1.0" encoding="UTF-8"?>
<?jpluck name="London Review of Books home"
	description="Extracts articles and letters from the current issue."
	uri-pattern="http://.*lrb.co.uk/"
?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
   <xsl:import href="jpluck.xsl"/>
   <xsl:template match="/">
      <html>
         <head>
            <xsl:copy-of select="//head/title"/>
         </head>

         <body>
            <h1>London Review of Books</h1>
            <xsl:copy-of select="//html/body/table[position()=3]/tr[position()=2]/td[position()=6]"/>
         </body>
      </html>
   </xsl:template>   
 </xsl:stylesheet>

⌨️ 快捷键说明

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