DOI Content in Crossref Unixref XML Format

Q

How to represent DOI content in Crossref Unixref XML format?

✍: FYIcenter.com

A

Crossref Unixref XML is an XML schema used by Crossref.org which is a global DOI Registration Agency serving.

The Crossref Unixref XML format is triggered by the "application/vnd.crossref.unixref+xml" MIME type as shown this HTTP request syntax:

GET https://doi.org/{doi} HTTP/1.1
Accept: application/vnd.crossref.unixref+xml    

Here is an example of how to use the DOI Content Negotiation service to get the Crossref Unixref XML format of a given DOI:

fyicenter$ curl -H "Accept: application/vnd.crossref.unixref+xml" \
  'https://doi.org/10.1126/science.169.3946.635'

<html><head><title>Handle Redirect</title></head>
<body>
<a href="https://api.crossref.org/v1/works/10.1126%2Fscience.169.3946.635/transform">
https://api.crossref.org/v1/works/10.1126%2Fscience.169.3946.635/transform</a>
</body></html>

Okay, doi.org is not serving this Content Negotiation request directly. It is redirecting you to api.crossref.org to get the response.

You can add the -L option to let "curl" follow the redirected location. api.crossref.org will return you the DOI content in Crossref Unixref XML format.

fyicenter$ curl -LH "Accept: application/vnd.crossref.unixref+xml" \
  'https://doi.org/10.1126/science.169.3946.635'

<?xml version="1.0" encoding="UTF-8"?>
<doi_records>
  <doi_record owner="10.1126" timestamp="2021-10-23 15:24:14">
    <crossref>
      <journal>
        <journal_metadata language="en">
          <full_title>Science</full_title>
          <abbrev_title>Science</abbrev_title>
          <issn media_type="print">0036-8075</issn>
          <issn media_type="electronic">1095-9203</issn>
        </journal_metadata>
        <journal_issue>
          <publication_date media_type="print">
            <month>08</month>
            <day>14</day>
            <year>1970</year>
          </publication_date>
          <journal_volume>
            <volume>169</volume>
          </journal_volume>
          <issue>3946</issue>
        </journal_issue>
        <journal_article publication_type="full_text">
          <titles>
            <title>The Structure of Ordinary Water</title>
            <subtitle>New data and interpretations are yielding new insights into this fascinating substance.</subtitle>
          </titles>
          <contributors>
            <person_name contributor_role="author" sequence="first">
              <given_name>Henry S.</given_name>
              <surname>Frank</surname>
              <affiliation>University of Pittsburgh, Mellon Institute of Carnegie-Mellon University</affiliation>
            </person_name>
          </contributors>
          <publication_date media_type="print">
            <month>08</month>
            <day>14</day>
            <year>1970</year>
          </publication_date>
          <pages>
            <first_page>635</first_page>
            <last_page>641</last_page>
          </pages>
          <publisher_item>
            <identifier id_type="doi">10.1126/science.169.3946.635</identifier>
          </publisher_item>
          <doi_data>
            <doi>10.1126/science.169.3946.635</doi>
            <resource>https://www.science.org/doi/10.1126/science.169.3946.635</resource>
            <collection property="crawler-based">
              <item crawler="iParadigms">
                <resource>https://syndication.highwire.org/content/doi/10.1126/science.169.3946.635</resource>
              </item>
            </collection>
          </doi_data>
  ...

 

DOI Content in Crossref UNIXSD XML Format

DOI Content in DataCite XML Format

DOI Content Negotiation at doi.org

⇑⇑ DOI - Frequently Asked Questions

2022-10-06, 348👍, 0💬