Skip to content

Commit

Permalink
code for 505 -#184
Browse files Browse the repository at this point in the history
  • Loading branch information
dchen077 committed Sep 17, 2024
1 parent d408142 commit 7c78be7
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 18 deletions.
18 changes: 9 additions & 9 deletions Working Documents/transformationCode/m2r-5xx-named.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -38,25 +38,25 @@
<xsl:if test="@ind1 = '8'">
<xsl:text>Contents: </xsl:text>
</xsl:if>
<xsl:if test="marc:subfield[@code = 'a']">
<xsl:text>Formatted contents note: {marc:subfield[@code = 'a']} </xsl:text>
</xsl:if>
<xsl:for-each select="marc:subfield[@code = 'g'] | marc:subfield[@code = 'r']
<xsl:for-each select="marc:subfield[@code = 'a'] | marc:subfield[@code = 'g'] | marc:subfield[@code = 'r']
| marc:subfield[@code = 't'] | marc:subfield[@code = 'u']">
<xsl:if test="@code = 'a'">
<xsl:text>{.}</xsl:text>
</xsl:if>
<xsl:if test="@code = 'g'">
<xsl:text>Miscellaneous information: {.}</xsl:text>
<xsl:text>{.}</xsl:text>
</xsl:if>
<xsl:if test="@code = 'r'">
<xsl:text>Statement of responsibility: {.}</xsl:text>
<xsl:text>{.}</xsl:text>
</xsl:if>
<xsl:if test="@code = 't'">
<xsl:text>Title: {.}</xsl:text>
<xsl:text>{.}</xsl:text>
</xsl:if>
<xsl:if test="@code = 'u'">
<xsl:text>Uniform Resource Identifier: {.}</xsl:text>
<xsl:text>{.}</xsl:text>
</xsl:if>
<xsl:if test="position() != last()">
<xsl:text>; </xsl:text>
<xsl:text> </xsl:text>
</xsl:if>
</xsl:for-each>
</xsl:template>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,16 @@
</marc:datafield>

<marc:datafield tag="505" ind1="1" ind2=" ">
<marc:subfield code="a">Future land use plan -- Recommended capital improvements -- Existing land use -- Existing zoning.</marc:subfield>
<marc:subfield code="g">Ch. 10.</marc:subfield>
<marc:subfield code="g">Nr. 3.</marc:subfield>
<marc:subfield code="t">Region Mettelburgenland --</marc:subfield>
<marc:subfield code="g">Nr. 4.</marc:subfield>
<marc:subfield code="t">Region südliches Burgenland --</marc:subfield>
<marc:subfield code="g">Nr. 5.</marc:subfield>
<marc:subfield code="t">Region Südburgland</marc:subfield>
</marc:datafield>

<marc:datafield tag="505" ind1="8" ind2=" ">
<marc:subfield code="a">Future land use plan -- Recommended capital improvements -- Existing land use -- Existing zoning.</marc:subfield>
<marc:subfield code="t">Queen or crone? : gendered archaeology in an LB tomb at Gezer</marc:subfield>
</marc:datafield>

<marc:datafield tag="880" ind1="0" ind2=" ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@
<rdf:type rdf:resource="http://rdaregistry.info/Elements/c/C10007"/>
<rdamo:P30139 rdf:resource="http://marc2rda.edu/fake/505-testexp"/>
<fake:marcfield>F505 0# $r by L. H. Fellows. $u http://www.loc.gov/hlas</fake:marcfield>
<rdamd:P30137>Contents: Statement of responsibility: by L. H. Fellows.; Uniform Resource Identifier: http://www.loc.gov/hlas</rdamd:P30137>
<fake:marcfield>F505 1# $a Future land use plan -- Recommended capital improvements -- Existing land use -- Existing zoning. $g Ch. 10.</fake:marcfield>
<rdamd:P30137>Incomplete contents: Formatted contents note: Future land use plan -- Recommended capital improvements -- Existing land use -- Existing zoning. Miscellaneous information: Ch. 10.</rdamd:P30137>
<fake:marcfield>F505 8# $a Future land use plan -- Recommended capital improvements -- Existing land use -- Existing zoning. $t Queen or crone? : gendered archaeology in an LB tomb at Gezer</fake:marcfield>
<rdamd:P30137>Contents: Formatted contents note: Future land use plan -- Recommended capital improvements -- Existing land use -- Existing zoning. Title: Queen or crone? : gendered archaeology in an LB tomb at Gezer</rdamd:P30137>
<rdamd:P30137>Contents: by L. H. Fellows. http://www.loc.gov/hlas</rdamd:P30137>
<fake:marcfield>F505 1# $g Nr. 3. $t Region Mettelburgenland -- $g Nr. 4. $t Region südliches Burgenland -- $g Nr. 5. $t Region Südburgland</fake:marcfield>
<rdamd:P30137>Incomplete contents: Nr. 3. Region Mettelburgenland -- Nr. 4. Region südliches Burgenland -- Nr. 5. Region Südburgland</rdamd:P30137>
<fake:marcfield>F505 8# $a Future land use plan -- Recommended capital improvements -- Existing land use -- Existing zoning.</fake:marcfield>
<rdamd:P30137>Contents: Future land use plan -- Recommended capital improvements -- Existing land use -- Existing zoning.</rdamd:P30137>
<fake:marcfield>F880 0# $6 505-00 $a Test 880</fake:marcfield>
<rdamd:P30137>Contents: Formatted contents note: Test 880 </rdamd:P30137>
<rdamd:P30137>Contents: Test 880</rdamd:P30137>
</rdf:Description>
</rdf:RDF>

0 comments on commit 7c78be7

Please sign in to comment.