-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbook.xml
30 lines (19 loc) · 1.31 KB
/
book.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<book>
<!-- This is a sample book.xml file. See the O'Reilly DocBook Authoring Guidelines at https://prod.oreilly.com/external/tools/docbook/docs/authoring/ for information on working with DocBook XML. -->
<!-- Reference new files using XIncludes (not entities): http://www.sagehill.net/docbookxsl/ModularDoc.html#UsingXinclude -->
<!-- Each file should have a DOCTYPE at the top of it so you can validate it alone (just like this but with a chapter/preface instead of book-->
<!-- Remember, using XIncludes means that you'll have to add a flag (typically 'xinclude' with one or two dashes) when using XML processors/parsers -->
<!-- Validate with xmllint as follows (Basic setup same as libxslt: http://www.sagehill.net/docbookxsl/InstallingAProcessor.html)-->
<!-- (please collapse dashes in the line beloew) -->
<!-- $ xmllint - -xinclude - -noout - -postvalid book.xml -->
<title>Book Title Goes Here</title>
<bookinfo>
<edition>1</edition>
<isbn><!--ISBN goes here--></isbn>
</bookinfo>
<xi:include href="ch00.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="ch01.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
</book>