We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

DTDAnalyzer: A tool for analyzing and manipulating DTDs

Formal Metadata

Title
DTDAnalyzer: A tool for analyzing and manipulating DTDs
Alternative Title
DtdAnalyzer: A tool for analyzing and manipulating DTDs.
Title of Series
Part Number
13
Number of Parts
16
Author
License
CC Attribution 3.0 Unported:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal purpose as long as the work is attributed to the author in the manner specified by the author or licensor.
Identifiers
Publisher
Release Date
Language
Production Year2012
Production PlaceWashington, D.C.

Content Metadata

Subject Area
Genre
Abstract
This paper describes an open-source Java/XSLT application that allows users to analyze and manipulate XML DTDs. The application can be used to generate reference documentation, create reports comparing two DTDs, convert DTDs into Schematron, and to automatically scaffold conversion scripts.The DtdAnalyzer tool has been used at the National Center for Biotechnology Information (NCBI), a part of the National Library of Medicine, for a number of years, to help maintain the suite of NLM DTDs, and to develop new conversion applications. NCBI has recently decided to release it as a self-contained application and to move its development onto GitHub (https://github.com/NCBITools/DtdAnalyzer).The heart of the tool is a Java application which converts a DTD into an XML representation, including all the element, attribute, and entity declarations contained inside the DTD. Additionally, DTDs can be annotated with specially-formatted comments which are recognized by this converter, and these annotations are delivered in the XML output.The resulting XML can be transformed to create many useful outputs, and a basic set of those transformation stylesheets, as described above, are included with this tool.