Menu
CTAN
Comprehensive TeX Archive Network
Cover Upload Browse Search

Query­ing the CTAN Database – DTD

Most of the XML files are de­scribed by a DTD. This DTD is ref­er­enced in the files by URL. Un­der this URL the DTD can be down­loaded:

http://www.ctan.org/xml/cat­a­logue.dtd

The re­sult is an XML file as in the fol­low­ing list­ing:

<?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