8330 (Literat-Kurztitel): Unterschied zwischen den Versionen

Aus Data-Wiki
imported>Michael Freiberg
K (Textersetzung - „Datentransformation“ durch „Mapping“)
imported>Michael Freiberg
Keine Bearbeitungszusammenfassung
Zeile 2: Zeile 2:
|Aspektnummer=8330
|Aspektnummer=8330
|Aspektbezeichnung=Literat-Kurztitel
|Aspektbezeichnung=Literat-Kurztitel
|Leitaspekt=
|Augmentiert=Nein
|Augmentiert=Nein
|Besetzt=Ja
|Besetzt=Ja
|Relevant=Ja
|Relevant=Ja
|Spezifische Gattung=
}}
}}
== Erfassung ==
== Erfassung ==
=== MIDAS-Handbuch ===
=== MIDAS-Handbuch ===
{{Ergänzen:Handbuchseiten}}
{{Ergänzen:Handbuchseiten}}
<gallery mode="slideshow">
<gallery mode="slideshow">
Image:MIDAS Handbuch 2001 Seite 000 003.png|MIDAS Handbuch (2001), S. III.
Image:MIDAS Handbuch 2001 Seite 265.png|MIDAS Handbuch (2001).
Image:MIDAS Handbuch 2001 Seite 000 004.png|MIDAS Handbuch (2001), S. IV.
</gallery>
</gallery>


Zeile 24: Zeile 19:


=== MIDAS-LIDO ===
=== MIDAS-LIDO ===
==== Skripte ====
==== [[filter.xsl]] ====
* [[filter.xsl]]
Der Aspekt 8330 und seine Unteraspekte werden mit dem Template <code>build.8330</code> in ein {{LIDO|relatedWorkSet}} mit dem Relationsterm ''dokumentiert in'' transformiert.
* [[HiDAprepare.xsl]]
Mögliche Kandidaten für die Referenzelemente sind [[8200 (LIT-Dok.-Nr.)]] (11-17), [[82nr (Einsp. Norm-ID-Nr.)]] (18-20) als {{LIDO|objectID}} sowie [[8330 (Literat-Kurztitel)]] und [[8334 (Stelle)]] (22-27) als {{LIDO|objectNote}}.
* [[mapping_hida_to_lido.xml]]
 
<syntaxhighlight lang="xml" line>
<xsl:template name="build.8330">
  <xsl:for-each select="h1:Field[@Type='8330']">
    <xsl:variable name="a8330" select="@Value"/>
    <xsl:variable name="a8334" select="h1:Field[@Type='8334']/@Value"/>
    <xsl:variable name="a8200" select="h1:Field[@Type='8200']/@Value"/>
    <stx:Map>
      <lido:relatedWorkSet>
        <lido:relatedWork>
          <lido:object>
            <stx:Map>
              <xsl:if test="$a8200">
                <lido:objectID lido:type="http://terminology.lido-schema.org/lido00100" lido:source="Deutsches Dokumentationszentrum für Kunstgeschichte - Bildarchiv Foto Marburg">
                  <stx:Value>
                    <xsl:value-of select="concat(normalize-space(substring-before($a8200, ' ')), '/', normalize-space(substring-after($a8200, ' ')))"/>
                  </stx:Value>
                </lido:objectID>
              </xsl:if>
              <xsl:for-each select="h1:Field[@Type='82nr']">
                <xsl:call-template name="normalize.objectID"/>
              </xsl:for-each>
            </stx:Map>
            <stx:Map>
              <lido:objectNote lido:type="Kurztitel">
                <stx:Value>
                  <xsl:value-of select="concat($a8330, ', ', $a8334)"/>
                </stx:Value>
              </lido:objectNote>
            </stx:Map>
          </lido:object>
        </lido:relatedWork>
        <lido:relatedWorkRelType>
          <lido:term>dokumentiert in</lido:term>
        </lido:relatedWorkRelType>
      </lido:relatedWorkSet>
    </stx:Map>
  </xsl:for-each>
</xsl:template>
</syntaxhighlight>


==== LIDO-Zielelmente ====
==== LIDO-Zielelmente ====

Version vom 16. Januar 2017, 10:31 Uhr

MIDAS
Feldnummer
Feldbezeichnung
Leitaspekt
Wiederholfeld
Thesauriert
Objektgruppe
Dokumenttyp
Index
Siehe auch

Erfassung

MIDAS-Handbuch

Sofern der MIDAS-Aspekt im Handbuch erläutert ist, sollten hier noch die entsprechenden Seiten an die Stelle der Platzhalter treten. Wie das geht, steht in der Wiki-Hilfe.

Aktuelle Erfassungsregeln

Platz für Erfassungsregeln.

Mapping

MIDAS-LIDO

filter.xsl

Der Aspekt 8330 und seine Unteraspekte werden mit dem Template build.8330 in ein lido:relatedWorkSet mit dem Relationsterm dokumentiert in transformiert. Mögliche Kandidaten für die Referenzelemente sind 8200 (LIT-Dok.-Nr.) (11-17), 82nr (Einsp. Norm-ID-Nr.) (18-20) als lido:objectID sowie 8330 (Literat-Kurztitel) und 8334 (Stelle) (22-27) als lido:objectNote.

<xsl:template name="build.8330">
  <xsl:for-each select="h1:Field[@Type='8330']">
    <xsl:variable name="a8330" select="@Value"/>
    <xsl:variable name="a8334" select="h1:Field[@Type='8334']/@Value"/>
    <xsl:variable name="a8200" select="h1:Field[@Type='8200']/@Value"/>
    <stx:Map>
      <lido:relatedWorkSet>
        <lido:relatedWork>
          <lido:object>
            <stx:Map>
              <xsl:if test="$a8200">
                <lido:objectID lido:type="http://terminology.lido-schema.org/lido00100" lido:source="Deutsches Dokumentationszentrum für Kunstgeschichte - Bildarchiv Foto Marburg">
                  <stx:Value>
                    <xsl:value-of select="concat(normalize-space(substring-before($a8200, ' ')), '/', normalize-space(substring-after($a8200, ' ')))"/>
                  </stx:Value>
                </lido:objectID>
              </xsl:if>
              <xsl:for-each select="h1:Field[@Type='82nr']">
                <xsl:call-template name="normalize.objectID"/>
              </xsl:for-each>
            </stx:Map>
            <stx:Map>
              <lido:objectNote lido:type="Kurztitel">
                <stx:Value>
                  <xsl:value-of select="concat($a8330, ', ', $a8334)"/>
                </stx:Value>
              </lido:objectNote>
            </stx:Map>
          </lido:object>
        </lido:relatedWork>
        <lido:relatedWorkRelType>
          <lido:term>dokumentiert in</lido:term>
        </lido:relatedWorkRelType>
      </lido:relatedWorkSet>
    </stx:Map>
  </xsl:for-each>
</xsl:template>

LIDO-Zielelmente

  • lido:objectNote (XPath /lido:lidoWrap/lido:lido/lido:descriptiveMetadata/lido:objectRelationWrap/lido:relatedWorksWrap/lido:relatedWorkSet/lido:relatedWork/lido:object/lido:objectNote/)

LIDO-CRM

Platz für technische Details zur LIDO-CRM-Transformation.

MIDAS-CRM

Platz für technische Details zur MIDAS-CRM-Transformation.