Skip to content
Snippets Groups Projects
ArchiveUnit.xml 8.02 KiB
Newer Older
  • Learn to ignore specific revisions
  • <?merge $archiveUnit ?>
    <ArchiveUnit>
        <ArchiveUnitRefId><?merge .archiveUnitRefId ?></ArchiveUnitRefId>
        <ArchiveUnitProfile schemeID="[?merge .archiveUnitProfile.schemeID ?]" schemeName="[?merge .archiveUnitProfile.schemeName ?]" schemeAgencyID="[?merge .archiveUnitProfile.schemeAgencyID ?]" schemeAgencyName="[?merge .archiveUnitProfile.schemeAgencyName ?]" schemeVersionID="[?merge .archiveUnitProfile.schemeVersionID ?]" schemeDataURI="[?merge .archiveUnitProfile.schemeDataURI ?]" schemeURI="[?merge .archiveUnitProfile.schemeURI ?]"><?merge .archiveUnitProfile ?></ArchiveUnitProfile>
        <?merge .management.bool() ?>
        <Management>
            <StorageRule>
                <?merge .management.storageRule $abstractRule ?>
                <?xinclude /resources/AbstractRule.xml ?>
                <FinalAction><?merge .management.storageRule.finalAction ?></FinalAction>
            </StorageRule>
            <AppraisalRule>
                <?merge .management.appraisalRule $abstractRule ?>
                <?xinclude /resources/AbstractRule.xml ?>
                <FinalAction><?merge .management.appraisalRule.finalAction ?></FinalAction>
            </AppraisalRule>
            <AccessRule>
                <?merge .management.accessRule $abstractRule ?>
                <?xinclude /resources/AbstractRule.xml ?>
            </AccessRule>
            <DisseminationRule>
                <?merge .management.disseminationRule $abstractRule ?>
                <?xinclude /resources/AbstractRule.xml ?>
            </DisseminationRule>
            <ReuseRule>
                <?merge .management.reuseRule $abstractRule ?>
                <?xinclude /resources/AbstractRule.xml ?>
            </ReuseRule>
            <ClassificationRule>
                <?merge .management.classificationRule $abstractRule ?>
                <?xinclude /resources/AbstractRule.xml ?>
                <ClassificationLevel><?merge .management.classificationRule.classificationLevel ?></ClassificationLevel>
                <ClassificationOwner><?merge .management.classificationRule.classificationOwner ?></ClassificationOwner>
                <ClassificationReassessingDate><?merge .management.classificationRule.classificationReassessingDate ?></ClassificationReassessingDate>
                <NeedReassessingAuthorization><?merge .management.classificationRule.needReassessingAuthorization ?></NeedReassessingAuthorization>
            </ClassificationRule>
            <NeedAuthorization>
                <?merge .management.needAuthorization ?>
            </NeedAuthorization>
            <OtherManagementAbstract>
                <?merge .management.otherManagementAbstract ?>
            </OtherManagementAbstract>
        </Management>
        <?merge .content.bool() ?>
        <Content>
            <DescriptionLevel listVersionID="[?merge .descriptionLevel ?]"><?merge .content.descriptionLevel ?></DescriptionLevel>
            <?merge .content.title ?><Title><?merge . ?></Title>
            <?merge .content.filePlanPosition ?><FilePlanPosition schemeID="[?merge .schemeID @schemeID ?]" schemeName="[?merge .schemeName @schemeName ?]" schemeAgencyID="[?merge .schemeAgencyID @schemeAgencyID ?]" schemeAgencyName="[?merge .schemeAgencyName @schemeAgencyName ?]" schemeVersionID="[?merge .schemeVersionID @schemeVersionID ?]" schemeDataURI="[?merge .schemeDataURI @schemeDataURI ?]" schemeURI="[?merge .schemeURI @schemeURI ?]"><?merge .value ?></FilePlanPosition>
            <OriginatingAgencyArchiveIdentifier><?merge .content.originatingAgencyArchiveIdentifier ?></OriginatingAgencyArchiveIdentifier>
            <?merge .content.description.bool() ?><Description><?merge .content.description ?></Description>
            <?merge .content.custodialHistory.bool() ?><CustodialHistory>
                <?merge .content.custodialHistory.custodialHistoryItem ?>
                <CustodialHistoryItem when="[?merge .when ?]"><?merge .value ?></CustodialHistoryItem>
            </CustodialHistory>
            <Type><?merge .content.type ?></Type>
            <DocumentType><?merge .content.documentType ?></DocumentType>
            <Language><?merge .content.language ?></Language>
            <DescriptionLanguage><?merge .content.descriptionLanguage ?></DescriptionLanguage>
            <Status><?merge .content.status ?></Status>
            <Version><?merge .content.version ?></Version>
            <?merge .content.tag ?><Tag><?merge .value ?></Tag>
            <?merge .content.keyword ?><Keyword>
                <KeywordContent role="[?merge .keywordContent.role @role ?]"><?merge .keywordContent.value ?></KeywordContent>
                <KeywordReference schemeID="[?merge .keywordReference.schemeID @schemeID ?]" schemeName="[?merge .keywordReference.schemeName @schemeName ?]" schemeAgencyID="[?merge .keywordReference.schemeAgencyID @schemeAgencyID ?]" schemeAgencyName="[?merge .keywordReference.schemeAgencyName @schemeAgencyName ?]" schemeVersionID="[?merge .keywordReference.schemeVersionID @schemeVersionID ?]" schemeDataURI="[?merge .keywordReference.schemeDataURI @schemeDataURI ?]" schemeURI="[?merge .keywordReference.schemeURI @schemeURI ?]"><?merge .keywordReference.value ?></KeywordReference>
                <KeywordType listVersionID="[?merge .keywordType.listVersionID @listVersionID ?]"><?merge .keywordType ?></KeywordType>
            </Keyword>
            <Coverage>
                <SpatialCoverage><?merge .content.spatialCoverage ?></SpatialCoverage>
                <TemporalCoverage><?merge .content.temporalCoverage ?></TemporalCoverage>
                <JuridicationalCoverage><?merge .content.juridictionalCoverage ?></JuridicationalCoverage>
            </Coverage>
            <?merge .content.originatingAgency.bool() ?>
            <OriginatingAgency>
                <?merge .content.originatingAgency $organization ?>
                <?xinclude /resources/Organization.xml ?>
            </OriginatingAgency>
            <?merge .content.submissionAgency.bool() ?>
            <SubmissionAgency>
                <?merge .content.submissionAgency $organization ?>
                <?xinclude /resources/Organization.xml ?>
            </SubmissionAgency>
            <?merge .content.authorizedAgend.bool() ?>
            <AuthorizedAgent>
                <?merge .authorizedAgent $agent ?>
                <?xinclude /resources/Agent.xml ?>
            </AuthorizedAgent>
            <?merge .content.writter.array() ?>
            <Writter>
                <?merge . $agent ?>
                <?xinclude /resources/Agent.xml ?>
            </Writter>
            <?merge .content.addressee.array()?>
            <Addressee>
                <?merge . $agent ?>
                <?xinclude /resources/Agent.xml ?>
            </Addressee>
            <?merge .content.recipient.array() ?>
            <Recipient>
                <?merge . $agent ?>
                <?xinclude /resources/Agent.xml ?>
            </Recipient>
            <Source><?merge .content.source ?></Source>
            <CreatedDate><?merge .content.createdDate ?></CreatedDate>
            <TransactedDate><?merge .content.transactedDate ?></TransactedDate>
            <AcquiredDate><?merge .content.acquiredDate ?></AcquiredDate>
            <SentDate><?merge .content.sentDate ?></SentDate>
            <ReceivedDate><?merge .content.receivedDate ?></ReceivedDate>
            <RegisteredDate><?merge .content.registeredDate ?></RegisteredDate>
            <StartDate><?merge .content.startDate ?></StartDate>
            <EndDate><?merge .content.endDate ?></EndDate>
            <?merge .content.event ?>
            <Event>
                <EventIdentifier><?merge .eventIdentifier ?></EventIdentifier>
                <EventType><?merge .eventType ?></EventType>
                <EventDateTime><?merge .eventDateTime ?></EventDateTime>
                <EventDetail><?merge .eventDetail ?></EventDetail>
            </Event> 
        </Content>
        <?merge .content.archiveUnit /resources/ArchiveUnit.xml?>
        <?merge .dataObjectReference.bool() ?>
        <DataObjectReference>
            <?merge .dataObjectReference.dataObjectReferenceId.bool() ?>
            <DataObjectReferenceId><?merge .dataObjectReference.dataObjectReferenceId ?></DataObjectReferenceId>
            <?merge .dataObjectReference.dataObjectGroupReferenceId.bool() ?>
            <DataObjectGroupReferenceId><?merge .dataObjectReference.dataObjectGroupReferenceId ?></DataObjectGroupReferenceId>
        </DataObjectReference>
    </ArchiveUnit>