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

📄 lrbarticle.xsl

📁 JPluck是一个基于Java的工具集
💻 XSL
字号:
<?xml version="1.0" encoding="UTF-8"?>
<?jpluck name="London Review of Books article"
	description="Extracts the articles text."
	uri-pattern="http://.*lrb.co.uk/.*/.*/.*\.htm.*"
?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:template match="/">
      <html>
         <head>
            <xsl:copy-of select="//head/title"/>
         </head>

         <body>
            <xsl:copy-of select="//div[@id='article_head']/h1"/>
            <xsl:copy-of select="//div[@id='article_head']/h2"/>
            <xsl:copy-of select="//div[@id='article_body']"/>
         </body>
      </html>
   </xsl:template>   
 </xsl:stylesheet>
 
 

⌨️ 快捷键说明

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