Difference between revisions of "XML:MakeVariant"

From ISFDB
Jump to navigation Jump to search
Line 1: Line 1:
 
==Introduction==
 
==Introduction==
  
This submission is used to make current title a variant title. It can either link to an existing parent title, or it can specify that a parent title be created.
+
This submission is used to make current title a variant title. It can either link to an existing parent title, or it can specify that a new parent title should be created.
  
 
==Required Tags==
 
==Required Tags==

Revision as of 22:46, 13 February 2014

Introduction

This submission is used to make current title a variant title. It can either link to an existing parent title, or it can specify that a new parent title should be created.

Required Tags

Required Tags When Parent Exists

When modifying an existing title to be a variant of an existing parent title, two tags are required:

  • Record - Record number of the title to be made into a variant.
  • Parent - Record number of the variant's parent title.


Required Tags When Parent Is Created

When modifying an existing title to be a variant of a new parent title, one tag are required:

  • Record - Record number of the title to be made into a variant.


Optional Tags

Optional Tags When Parent Exists

None.


Optional Tags When Parent Is Created

Since this submission defines a new title, it supports the same optional tags as XML:TitleUpdate.


Examples

Example Where Parent Exists

 <?xml version="1.0" encoding="iso-8859-1" ?>
 <IsfdbSubmission>
   <MakeVariant>
     <Submitter>CoachPaul</Submitter>
     <Subject>Luella Miller</Subject>
     <Record>883909</Record>
     <Parent>99468</Parent>
   </MakeVariant>
 </IsfdbSubmission>


Example Where Parent Is Created

 <?xml version="1.0" encoding="iso-8859-1" ?>
 <IsfdbSubmission>
   <MakeVariant>
     <Record>884039</Record>
     <Submitter>Rkihara</Submitter>
     <Subject>Buying Time: A Jaunt in Time and Space</Subject>
     <Title>Buying Time: A Jaunt in Time and Space</Title>
     <Year>2001-00-00</Year>
     <TitleType>NOVEL</TitleType>
     <Language>German</Language>
     <Authors>
       <Author>Alan Glasser</Author>
     </Authors>
   </MakeVariant>
 </IsfdbSubmission>