📄 filter.xsl
字号:
<?xml version="1.0"?><!-- Copyright (C) 2006 Ferdinand Prantl <prantl@users.sourceforge.net> -->
<!-- All rights reserved. -->
<!-- -->
<!-- This work is licensed under a Creative Commons Attribution 2.5 --><!-- License. See the attached file LICENSE for more information. --><!-- See also http://creativecommons.org/licenses/by/2.5/. --><!-- -->
<!-- See http://domino-javadoc.sourceforge.net for the most recent version -->
<!-- and more information. -->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" encoding="utf-8" />
<xsl:template match="description">
<xsl:element name="{name()}">
<xsl:text>
</xsl:text><xsl:apply-templates />
</xsl:element>
</xsl:template>
<xsl:template match="description/text()">
</xsl:template>
<xsl:template match="title">
<xsl:if test=".!='Syntax' and .!='Properties' and .!='Property' and .!='Methods' and .!='Method' and .!='Defined in' and .!='Data type'">
<xsl:element name="{name()}">
<xsl:apply-templates />
</xsl:element><xsl:text>
</xsl:text>
</xsl:if>
</xsl:template>
<xsl:template match="text | code | list | item | table | row | cell | see">
<xsl:if test="not(preceding-sibling::title) or preceding-sibling::title[1][.!='Syntax' and .!='Properties' and .!='Property' and .!='Methods' and .!='Method' and .!='Defined in' and .!='Data type']">
<xsl:element name="{name()}">
<xsl:apply-templates />
</xsl:element><xsl:if test="name() != 'item'"><xsl:text>
</xsl:text></xsl:if>
</xsl:if>
</xsl:template>
<xsl:template match="link">
<xsl:element name="{name()}">
<xsl:attribute name="id"><xsl:value-of select="@id" /></xsl:attribute>
<xsl:apply-templates />
</xsl:element>
</xsl:template>
</xsl:stylesheet>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -