dtd-version
Version of the Tag Set (DTD)
Version of the BITS Tag Set that should be used to validate this book or book part.
Remarks
Best Practice: This attribute should be set on every document instance explicitly, even when using the XSD or RNG version of BITS. This is a “fixed”
attribute (meaning that the value is set via a parameter entity in the DTD; thus, an
author or editor cannot change it) that should change every time the BITS Tag Set changes version number.
Used on Elements: <book>, <book-part-wrapper>
Value | Meaning |
---|---|
2.0 | The version of the BITS Tag Set that is being used. |
Restriction | @dtd-version has a fixed value which may not be changed in the document. |
Example
<book
xmlns:mml="http://www.w3.org/1998/Math/MathML"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
book-type="gov"
dtd-version="2.0"
indexed="yes"
xml:lang="en">
<book-meta>...</book-meta>
<book-body>...</book-body>
<book-back>...</book-back>
</book>