Difference between revisions of "XML:AwardUpdate"

From ISFDB
Jump to navigation Jump to search
m
(→‎Example: syntax highlighting)
 
Line 22: Line 22:
 
==Example==
 
==Example==
  
 +
<source lang="xml">
 
  <?xml version="1.0" encoding="iso-8859-1" ?>
 
  <?xml version="1.0" encoding="iso-8859-1" ?>
 
  <IsfdbSubmission>
 
  <IsfdbSubmission>
Line 31: Line 32:
 
   </AwardUpdate>
 
   </AwardUpdate>
 
  </IsfdbSubmission>
 
  </IsfdbSubmission>
 +
</source>
  
  
 
[[Category:Data Submission Formats|AwardUpdate]]
 
[[Category:Data Submission Formats|AwardUpdate]]

Latest revision as of 07:00, 22 May 2008

Introduction

The AwardUpdate submission updates an award record.

Required Tags

This submission contains one required tags:

  • Record - Specifies the award record to update.

Optional Tags

This submission supports six optional tags, indicating which fields should be updated:

  • AwardTitle - Indicates the name associated with the award.
  • AwardAuthors - Contains some number of AwardAuthor tags, one for each author associated with the title.
  • AwardType - The encoded award type (Hugo, Nebula, etc...).
  • AwardYear - Year awarded.
  • AwardCategory - The award category (novel, novella, etc...).
  • AwardLevel - The award level (1=win, 2=nomination, etc...).

Example

 <?xml version="1.0" encoding="iso-8859-1" ?>
 <IsfdbSubmission>
   <AwardUpdate>
     <Record>34321</Record>
     <Subject>Black Man</Subject>
     <Submitter>Alvonruff</Submitter>
     <AwardLevel>1</AwardLevel>
   </AwardUpdate>
 </IsfdbSubmission>