CTAN Comprehensive TeX Archive Network

Querying the CTAN Database – DTD

Most of the XML files are described by a DTD. This DTD is referenced in the files by URL. Under this URL the DTD can be downloaded:

https://www.ctan.org/xml/2.0/catalogue.dtd

The result is an XML file as in the following listing:

<?xml version="1.0" encoding="UTF-8"?>

<!-- The basic design of the DTD for the TeX Catalogue
  …
- -->

<!ENTITY hellip "&#8230;">
<!ENTITY nbsp   "&#160;">
<!ENTITY pound  "&#163;">

<!ENTITY % text "#PCDATA|xref|em|a|p|pre|tt|br">

<!ELEMENT fullcat (authors, catalogue)>

<!-- author element
  …  
Guest Book Sitemap Contact Contact Author