/usr/share/sgml/docbook/stylesheet/dsssl/modular/dtds/imagelib/imagelib.dtd is in docbook-dsssl 1.79-9.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | <!-- $Id: imagelib.dtd,v 1.1 2001/04/02 21:40:27 nwalsh Exp $
DTD for the image-library files used by the Modular DocBook
Stylesheets.
Common declaration:
<?xml version='1.0'?>
<!DOCTYPE image-library
PUBLIC "-//Norman Walsh//DTD Image Library 1.0//EN" "">
Instances of this DTD are usually XML.
-->
<!-- An image-library is a collection of images -->
<!ELEMENT image-library (image+)>
<!-- Each image has some number of properties and may have a short -->
<!-- text description and a long test description -->
<!ELEMENT image (properties?, alttext?, altdesc?)>
<!-- The stylesheets resolve the requested graphic to a filename -->
<!-- and search for an image with that filename in the image -->
<!-- library. Images may refer to each other with 'id' and -->
<!-- 'sameas' attributes. -->
<!ATTLIST image
filename CDATA #REQUIRED
id ID #IMPLIED
sameas IDREFS #IMPLIED
>
<!-- A few image properties are universal, the rest are stored -->
<!-- in HTML-style 'meta' elements. -->
<!ELEMENT properties (meta*)>
<!ATTLIST properties
format (gif|jpeg|png|other) #IMPLIED
otherformat CDATA #IMPLIED
width CDATA #IMPLIED
height CDATA #IMPLIED
>
<!-- Any additional properties that specify 'imgattr="yes"', -->
<!-- will automatically be copied to the attribute list of -->
<!-- the HTML IMG tag. -->
<!ELEMENT meta EMPTY>
<!ATTLIST meta
name CDATA #REQUIRED
content CDATA #REQUIRED
imgattr (yes|no) "no"
>
<!-- The content of this element will be used as the HTML -->
<!-- 'ALT' text, unless the alt text can be found in the -->
<!-- instance. -->
<!ELEMENT alttext (#PCDATA)>
<!-- The 'altdesc' is a longer description of the image. -->
<!-- It is not used at this time. -->
<!ELEMENT altdesc (para+)>
<!ELEMENT para (#PCDATA)>
<!--EOF-->
|