XML Export Format

From EPrints Documentation
Revision as of 16:03, 10 January 2007 by Moj (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Multiple Fields

Compound Fields

<related_url>
  <item>
    <url>http://www.publisher.com/url>
    <type>pub</type>    
  </item>
  <item>
    <url>http://www.author.com</url>
    <type>author</type>
  </item>
</related_url>

Name Fields

<name>
  <honourific>Dr</honourific>
  <family>Notley</family>
  <given>A.</given>
  <lineage>III</lineage>
  <id>person@people.com</id>
</name>

Documents

<document xmlns="http://eprints.org/ep2/data/2.0">
  <docid>5</docid>
  <rev_number>1</rev_number>
  <eprintid>5</eprintid>
  <pos>1</pos>
  <format>application/pdf</format>
  <language>en</language>
  <security>public</security>
  <main>paper.pdf</main>
  <files>
    <file>
      <filename>paper.pdf</filename>
      <filesize>12174</filesize>
      <url>http://demoprints3.eprints.org/5/1/paper.pdf</url>
    </file>
  </files>
</document>

Files

<file>
  <filename>paper.pdf</filename>
  <filesize>12174</filesize>
  <url>http://demoprints3.eprints.org/5/1/paper.pdf</url>
</file>