This page provides information regarding XML schema to help members in building their deposit files. In addition, you may validate your XML against the schema using this simple form. Your XML will be parsed and any errors will be displayed
(note: this does NOT deposit your XML into the system at all, it is just an XML parser).
A note about schema declarations in your XML:
At the top of each XML file there needs to be a XML and schema declaration. The simplest form will look like the following:
<?xml version="1.0" encoding="UTF-8"?>
<doi_batch version="4.1.0"
xmlns="http://www.crossref.org/schema/4.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
For the CrossRef system to process your XML the above is all you need. To use other versions of the schema simply replace the 4.1.0 accordingly. However, this test parser needs you to declare the schema location as shown below”:
<?xml version="1.0" encoding="UTF-8"?>
<doi_batch version="4.1.0"
xmlns="http://www.crossref.org/schema/4.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.crossref.org/schema/4.1.0
http://www.crossref.org/schema/deposit/crossref4.1.0.xsd">
In order to create XML according to the schema you will need to do the following:
- Review the help documentation available at:
http://www.crossref.org/schema/info/CrossRefSchemaDocumentation4.1.0.pdf
- Build XML files modeled after the samples available at:
http://www.crossref.org/schema/info/samples