📄 creating_filters.html.svn-base
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="generic.css" />
<title>Creating filters</title>
</head>
<body>
<h1>Creating filters</h1>
<p>To set up a new filter, create an XML document using the schema ‘filter.xsd’.</p>
<p>Filters consist of a title, optional lists of excluded and inherited filters, and a list of elements. Each element specifies a particular tag and, optionally, a map of attribute keys and values.</p>
<p>Here is a sample filter definition:</p>
<pre><?xml version="1.0" encoding="UTF-8"?>
<filter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="filter.xsd">
<title>WordprocessingML</title>
<element>urn:schemas-microsoft-com:office:office:DocumentProperties</element>
<element>urn:schemas-microsoft-com:office:office:CustomDocumentProperties</element>
<element>http://schemas.microsoft.com/office/word/2003/wordml:binData</element>
<element>http://schemas.microsoft.com/office/word/2003/wordml:delText</element>
<element>http://schemas.microsoft.com/office/word/2003/wordml:docPr</element>
<element>http://schemas.microsoft.com/office/word/2003/wordml:fldData</element>
<element>http://schemas.microsoft.com/office/word/2003/wordml:fonts</element>
<element>http://schemas.microsoft.com/office/word/2003/wordml:instrText</element>
<element>http://schemas.microsoft.com/office/word/2003/wordml:lists</element>
<element>http://schemas.microsoft.com/office/word/2003/wordml:shapeDefaults</element>
<element>http://schemas.microsoft.com/office/word/2003/wordml:styles</element>
</filter></pre>
<p>Filter processing is namespace aware (hence the long element names).</p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -