1<?xml version="1.0"?> 2<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [ 3 <!ENTITY tex "TeX"> 4 <!ENTITY latex "LaTeX"> 5]> 6<book id="top.xml" lang="en"> 7<title>top test</title> 8 9<!-- This traditional top node uses @ifinfo for testing. --> 10<!-- Therefore there will be warnings when processing with -html. --> 11<!-- The solution is to use @ifnottex instead. --> 12 13 14 15<chapter label="1" id="Subnode"> 16<title>Subnode</title> 17 18<para>Subnode. 19</para> 20</chapter> 21</book> 22