-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy path11-9XX.xml
More file actions
32 lines (30 loc) · 1.24 KB
/
11-9XX.xml
File metadata and controls
32 lines (30 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?xml version='1.0'?>
<rules xmlns="http://www.loc.gov/bf2marc"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:bf="http://id.loc.gov/ontologies/bibframe/"
xmlns:bflc="http://id.loc.gov/ontologies/bflc/"
xmlns:madsrdf="http://www.loc.gov/mads/rdf/v1#"
xmlns:marc="http://www.loc.gov/MARC21/slim"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<select xpath="$vAdminMetadata/bflc:marcKey[starts-with(., '9')]">
<var name="vTag">
<transform><xsl:value-of select="substring(., 1, 3)" /></transform>
</var>
<var name="vInd1">
<transform><xsl:value-of select="substring(., 4, 1)" /></transform>
</var>
<var name="vInd2">
<transform><xsl:value-of select="substring(., 5, 1)" /></transform>
</var>
<df tag="$vTag">
<ind1 default=" "><transform><xsl:value-of select="$vInd1" /></transform></ind1>
<ind2 default=" "><transform><xsl:value-of select="$vInd2" /></transform></ind2>
<transform>
<xsl:call-template name="tParseMarcKey">
<xsl:with-param name="pString" select="substring(., 6)" />
</xsl:call-template>
</transform>
</df>
</select>
</rules>