Difference between revisions of "XML:MakeVariant"
Jump to navigation
Jump to search
DESiegel60 (talk | contribs) m (+cat) |
(Narrative, syntax highlighting) |
||
| Line 4: | Line 4: | ||
==Required Tags== | ==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== | ||
| − | == | + | ===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=== | ||
| + | |||
| + | <source lang="xml"> | ||
<?xml version="1.0" encoding="iso-8859-1" ?> | <?xml version="1.0" encoding="iso-8859-1" ?> | ||
<IsfdbSubmission> | <IsfdbSubmission> | ||
| Line 18: | Line 48: | ||
</MakeVariant> | </MakeVariant> | ||
</IsfdbSubmission> | </IsfdbSubmission> | ||
| + | </source> | ||
| + | |||
| − | ==Example Where Parent Is Created== | + | ===Example Where Parent Is Created=== |
| + | <source lang="xml"> | ||
<?xml version="1.0" encoding="iso-8859-1" ?> | <?xml version="1.0" encoding="iso-8859-1" ?> | ||
<IsfdbSubmission> | <IsfdbSubmission> | ||
| Line 35: | Line 68: | ||
</MakeVariant> | </MakeVariant> | ||
</IsfdbSubmission> | </IsfdbSubmission> | ||
| + | </source> | ||
[[Category:Data Submission Formats|MakeVariant]] | [[Category:Data Submission Formats|MakeVariant]] | ||
Revision as of 06:55, 22 May 2008
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.
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>
<Authors>
<Author>Alan Glasser</Author>
</Authors>
</MakeVariant>
</IsfdbSubmission>