Up: Elements reference



<book> – a book (root element)

Attributes:

xml:lang
human language (default: "en")
id
unique name (identifier)
style/class
style properties and class (e.g. for CSS)

Possible Contents: frontmatter, mainmatter, backmatter?

Description: This element embraces all other elements of a book. (Like the <html> tag does in HTML.)

If a class attribute is given, and its contents ends with .sty, the whole thing is interpreted as a LaTeX style file that's included instead of tbook-pl.sty. However, an explicit style file as an XSLT parameter sty-file still has higher precedence. Same with <article>.

Example

     <?xml version="1.0" encoding="iso-8859-1"?>
     <!DOCTYPE book PUBLIC "-//Torsten Bronger//DTD tbook 1.5.2//EN"
                           "http://tbookdtd.sourceforge.net/tbook152.dtd">
     <book xml:lang="en-GB">
       <frontmatter>
         <title>A little book</title>
         <author>Torsten Bronger</author>
       </frontmatter>
     
       <mainmatter>
         <chapter>
           <heading>First Chapter</heading>
     
           <p>Small is beautiful.</p>
         </chapter>
       </mainmatter>
     </book>