Home | 簡體中文 | 繁體中文 | 雜文 | 打賞(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎專欄 | Search | Email

第 4 章 DOCTYPE

目錄

4.1. SYSTEM
4.2. DTD 引用
4.2.1. 引用本地DTD
4.2.2. oasis-open.org
4.3. article
4.4. book
4.5. include
4.6. Docbook HTML 輸出選項
4.6.1. 指定多頁輸出時html文檔名
4.6.2. 指定輸出路徑
4.6.3. 包含HTML檔案
4.6.4. 包含HTML節點
4.6.5. 表徵圖
4.6.5.1. Admonition graphics
4.6.5.2. 導航表徵圖
4.6.5.3. Callout icons
4.6.6. dbhtml-include

4.1. SYSTEM

在綫引用DOCTYPE頭,這樣在創建文檔的時候速度會比較慢。

		
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V5.0//EN"
"http://www.oasis-open.org/docbook/xml/5.0/docbook.dtd">
		
		

我們也可使使用本地的DTD檔案

		
<!DOCTYPE subject SYSTEM "/usr/share/xml/docbook/schema/dtd/4.5/docbookx.dtd" [
	<!ENTITY book.info.author.xml			SYSTEM "../common/book.info.author.xml">
	<!ENTITY book.info.legalnotice.xml		SYSTEM "../common/book.info.legalnotice.xml">
	<!ENTITY book.info.abstract.xml			SYSTEM "../common/book.info.abstract.xml">
    <!ENTITY book.preface.xml           	SYSTEM "../common/book.preface.xml">
	<!ENTITY preface.about.me.xml       	SYSTEM "../common/about.me.xml">

	<!ENTITY chapter.docbook 			 	SYSTEM "chapter.docbook.xml">
	<!ENTITY chapter.docbook.doctype.xml 	SYSTEM "chapter.docbook.doctype.xml">
	<!ENTITY chapter.docbook.list.xml	 	SYSTEM "chapter.docbook.list.xml">
	<!ENTITY chapter.docbook.paragraphs.xml	SYSTEM "chapter.docbook.paragraphs.xml">
	<!ENTITY chapter.docbook.admonition.xml	SYSTEM "chapter.docbook.admonition.xml">
	<!ENTITY chapter.docbook-website.xml	SYSTEM "chapter.docbook-website.xml">
	<!ENTITY chapter.docbook.epub.xml	 	SYSTEM "chapter.docbook.epub.xml">
]>
		
		
		
<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.5-Based Extension//EN" "../../../share/xml/freebsd45.dtd">