U.S. flag

An official website of the United States government

PMC XML Validator

Use this tool to validate XML files against a DTD. The XML file must be UTF-8 encoded, and the DTD must be declared in a properly formed DOCTYPE definition.

If you reference a DTD with a complete URL in the SYSTEM identifier, your file will be validated against that DTD.

<!DOCTYPE article SYSTEM "http://dtd.nlm.nih.gov/1.1/journalpublishing.dtd">

For the NLM Journal DTDs (http://dtd.nlm.nih.gov), we recommend that you supply a DOCTYPE declaration with the proper PUBLIC Identifier.

<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v1.2 20040303//EN" "journalpublishing.dtd">
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Archiving and Interchange DTD v1.2 20040303//EN" "archivearticle.dtd">

Enter the path or browse to your XML file and click "Check File". You results will be returned to you momentarily.

Note: If you do not supply a DOCTYPE definition, your file will be checked for well-formedness only.

Note: Only the first 20 errors are reported. Please use a local parser to resolve additional errors if this limit is reached.

Please contact pubmedcentral@nih.gov if you have any problems with the tool.




Support Center

Last updated: Tue, 28 Jan 2014