View | Details | Raw Unified | Return to bug 3013
Collapse All | Expand All

(-)a/cataloguing/value_builder/marc21_field_006.pl (-40 / +67 lines)
Lines 26-31 use C4::Context; Link Here
26
use C4::Search;
26
use C4::Search;
27
use C4::Output;
27
use C4::Output;
28
28
29
use XML::LibXML;
30
29
=head1 DESCRIPTION
31
=head1 DESCRIPTION
30
32
31
plugin_parameters : other parameters added when the plugin is called by the dopop function
33
plugin_parameters : other parameters added when the plugin is called by the dopop function
Lines 82-127 sub plugin { Link Here
82
    );
84
    );
83
    $result = "a|||||r|||| 00| 0 " unless $result;
85
    $result = "a|||||r|||| 00| 0 " unless $result;
84
86
85
    #	$result = "a     r     00  0 " unless $result;
87
    # Check whether we want to use Type of Material display with xml
86
    my $f0   = substr($result, 0,  1);
88
    my $viewMaterialTypesMode = C4::Context->preference("TypeOfMaterialsView_006_008");
87
    my $f014 = substr($result, 1,  4);
89
    # Check if the xml, xsd exists and is validated
88
    my $f5   = substr($result, 5,  1);
90
    if ($viewMaterialTypesMode) {
89
    my $f6   = substr($result, 6,  1);
91
        my $dir = C4::Context->config('intrahtdocs') . '/prog/' . $template->param('lang') . '/modules/cataloguing/value_builder/';
90
    my $f710 = substr($result, 7,  4);
92
        if (-r $dir . 'marc21_field_006.xml') {
91
    my $f11  = substr($result, 11, 1);
93
            my $doc = XML::LibXML->new->parse_file($dir . 'marc21_field_006.xml');
92
    my $f12  = substr($result, 12, 1);
94
            if (-r $dir . 'marc21_field_CF.xsd') {
93
    my $f13  = substr($result, 13, 1);
95
                my $xmlschema = XML::LibXML::Schema->new(location => $dir . 'marc21_field_CF.xsd');
94
    my $f14  = substr($result, 14, 1);
96
                eval {
95
    my $f15  = substr($result, 15, 1);
97
                    $xmlschema->validate( $doc );
96
    my $f16  = substr($result, 16, 1);
98
                };
97
    my $f17  = substr($result, 17, 1);
99
                $viewMaterialTypesMode = 0 if ($@);
98
100
            }
99
    $template->param(
101
        } else {
100
        index       => $index,
102
            $viewMaterialTypesMode = 0;
101
        f0          => $f0,
103
        }
102
        "f0$f0"     => $f0,
104
    }
103
        f014        => $f014,
105
    unless ($viewMaterialTypesMode) {
104
        "f014$f014" => $f014,
106
        #	$result = "a     r     00  0 " unless $result;
105
        f5          => $f5,
107
        my $f0   = substr($result, 0,  1);
106
        "f5$f5"     => $f5,
108
        my $f014 = substr($result, 1,  4);
107
        f6          => $f6,
109
        my $f5   = substr($result, 5,  1);
108
        "f6$f6"     => $f6,
110
        my $f6   = substr($result, 6,  1);
109
        f710        => $f710,
111
        my $f710 = substr($result, 7,  4);
110
        "f710$f710" => $f710,
112
        my $f11  = substr($result, 11, 1);
111
        f11         => $f11,
113
        my $f12  = substr($result, 12, 1);
112
        "f11$f11"   => $f11,
114
        my $f13  = substr($result, 13, 1);
113
        f12         => $f12,
115
        my $f14  = substr($result, 14, 1);
114
        "f12$f12"   => $f12,
116
        my $f15  = substr($result, 15, 1);
115
        f13         => $f13,
117
        my $f16  = substr($result, 16, 1);
116
        "f13$f13"   => $f13,
118
        my $f17  = substr($result, 17, 1);
117
        f14         => $f14,
119
118
        "f14$f14"   => $f14,
120
        $template->param(
119
        f15         => $f15,
121
            f0          => $f0,
120
        "f15$f15"   => $f15,
122
            "f0$f0"     => $f0,
121
        f16         => $f16,
123
            f014        => $f014,
122
        "f16$f16"   => $f16,
124
            "f014$f014" => $f014,
123
        f17         => $f17,
125
            f5          => $f5,
124
        "f17$f17"   => $f17,
126
            "f5$f5"     => $f5,
127
            f6          => $f6,
128
            "f6$f6"     => $f6,
129
            f710        => $f710,
130
            "f710$f710" => $f710,
131
            f11         => $f11,
132
            "f11$f11"   => $f11,
133
            f12         => $f12,
134
            "f12$f12"   => $f12,
135
            f13         => $f13,
136
            "f13$f13"   => $f13,
137
            f14         => $f14,
138
            "f14$f14"   => $f14,
139
            f15         => $f15,
140
            "f15$f15"   => $f15,
141
            f16         => $f16,
142
            "f16$f16"   => $f16,
143
            f17         => $f17,
144
            "f17$f17"   => $f17,
145
        );
146
    } else {
147
        $template->param(tagfield => '006');
148
    }
149
    $template->param(index => $index,
150
            result => $result,
151
            viewMaterialTypesMode => $viewMaterialTypesMode,
125
    );
152
    );
126
    output_html_with_http_headers $input, $cookie, $template->output;
153
    output_html_with_http_headers $input, $cookie, $template->output;
127
}
154
}
(-)a/cataloguing/value_builder/marc21_field_008.pl (-57 / +84 lines)
Lines 26-31 use C4::Context; Link Here
26
use C4::Search;
26
use C4::Search;
27
use C4::Output;
27
use C4::Output;
28
28
29
use XML::LibXML;
30
29
=head1 DESCRIPTION
31
=head1 DESCRIPTION
30
32
31
plugin_parameters : other parameters added when the plugin is called by the dopop function
33
plugin_parameters : other parameters added when the plugin is called by the dopop function
Lines 96-160 sub plugin { Link Here
96
98
97
    #	$result = "      t        xxu           00  0 eng d" unless $result;
99
    #	$result = "      t        xxu           00  0 eng d" unless $result;
98
    $result = "$dateentered" . "t        xxu||||| |||| 00| 0 eng d" unless $result;
100
    $result = "$dateentered" . "t        xxu||||| |||| 00| 0 eng d" unless $result;
99
    my $f1    = substr($result, 0,  6);
101
    # Check whether we want to use Type of Material display with xml
100
    my $f6    = substr($result, 6,  1);
102
    my $viewMaterialTypesMode = C4::Context->preference("TypeOfMaterialsView_006_008");
101
    my $f710  = substr($result, 7,  4);
103
    # Check if the xml, xsd exists and is validated
102
    my $f1114 = substr($result, 11, 4);
104
    if ($viewMaterialTypesMode) {
103
    my $f1517 = substr($result, 15, 3);
105
        my $dir = C4::Context->config('intrahtdocs') . '/prog/' . $template->param('lang') . '/modules/cataloguing/value_builder/';
104
    my $f1821 = substr($result, 18, 4);
106
        if (-r $dir . 'marc21_field_008.xml') {
105
    my $f22   = substr($result, 22, 1);
107
            my $doc = XML::LibXML->new->parse_file($dir . 'marc21_field_008.xml');
106
    my $f23   = substr($result, 23, 1);
108
            if (-r $dir . 'marc21_field_CF.xsd') {
107
    my $f2427 = substr($result, 24, 4);
109
                my $xmlschema = XML::LibXML::Schema->new(location => $dir . 'marc21_field_CF.xsd');
108
    my $f28   = substr($result, 28, 1);
110
                eval {
109
    my $f29   = substr($result, 29, 1);
111
                    $xmlschema->validate( $doc );
110
    my $f30   = substr($result, 30, 1);
112
                };
111
    my $f31   = substr($result, 31, 1);
113
                $viewMaterialTypesMode = 0 if ($@);
112
    my $f33   = substr($result, 33, 1);
114
            }
113
    my $f34   = substr($result, 34, 1);
115
        } else {
114
    my $f3537 = substr($result, 35, 3);
116
            $viewMaterialTypesMode = 0;
115
    my $f38   = substr($result, 38, 1);
117
        }
116
    my $f39   = substr($result, 39, 1);
117
118
    # bug 2563
119
    $f710  = "" if ($f710  =~ /^\s*$/);
120
    $f1114 = "" if ($f1114 =~ /^\s*$/);
121
122
    if ((!$f1) || ($f1 =~ m/ /)) {
123
        $f1 = $dateentered;
124
    }
118
    }
119
    unless ($viewMaterialTypesMode) {
120
        my $f1    = substr($result, 0,  6);
121
        my $f6    = substr($result, 6,  1);
122
        my $f710  = substr($result, 7,  4);
123
        my $f1114 = substr($result, 11, 4);
124
        my $f1517 = substr($result, 15, 3);
125
        my $f1821 = substr($result, 18, 4);
126
        my $f22   = substr($result, 22, 1);
127
        my $f23   = substr($result, 23, 1);
128
        my $f2427 = substr($result, 24, 4);
129
        my $f28   = substr($result, 28, 1);
130
        my $f29   = substr($result, 29, 1);
131
        my $f30   = substr($result, 30, 1);
132
        my $f31   = substr($result, 31, 1);
133
        my $f33   = substr($result, 33, 1);
134
        my $f34   = substr($result, 34, 1);
135
        my $f3537 = substr($result, 35, 3);
136
        my $f38   = substr($result, 38, 1);
137
        my $f39   = substr($result, 39, 1);
138
139
        # bug 2563
140
        $f710  = "" if ($f710  =~ /^\s*$/);
141
        $f1114 = "" if ($f1114 =~ /^\s*$/);
142
143
        if ((!$f1) || ($f1 =~ m/ /)) {
144
            $f1 = $dateentered;
145
        }
125
146
126
    $template->param(
147
        $template->param(
127
        index       => $index,
148
            f1          => $f1,
128
        f1          => $f1,
149
            f6          => $f6,
129
        f6          => $f6,
150
            "f6$f6"     => $f6,
130
        "f6$f6"     => $f6,
151
            f710        => $f710,
131
        f710        => $f710,
152
            f1114       => $f1114,
132
        f1114       => $f1114,
153
            f1517       => $f1517,
133
        f1517       => $f1517,
154
            f1821       => $f1821,
134
        f1821       => $f1821,
155
            f22         => $f22,
135
        f22         => $f22,
156
            "f22$f22"   => $f22,
136
        "f22$f22"   => $f22,
157
            f23         => $f23,
137
        f23         => $f23,
158
            "f23$f23"   => $f23,
138
        "f23$f23"   => $f23,
159
            f2427       => $f2427,
139
        f2427       => $f2427,
160
            "f24$f2427" => $f2427,
140
        "f24$f2427" => $f2427,
161
            f28         => $f28,
141
        f28         => $f28,
162
            "f28$f28"   => $f28,
142
        "f28$f28"   => $f28,
163
            f29         => $f29,
143
        f29         => $f29,
164
            "f29$f29"   => $f29,
144
        "f29$f29"   => $f29,
165
            f30         => $f30,
145
        f30         => $f30,
166
            "f30$f30"   => $f30,
146
        "f30$f30"   => $f30,
167
            f31         => $f31,
147
        f31         => $f31,
168
            "f31$f31"   => $f31,
148
        "f31$f31"   => $f31,
169
            f33         => $f33,
149
        f33         => $f33,
170
            "f33$f33"   => $f33,
150
        "f33$f33"   => $f33,
171
            f34         => $f34,
151
        f34         => $f34,
172
            "f34$f34"   => $f34,
152
        "f34$f34"   => $f34,
173
            f3537       => $f3537,
153
        f3537       => $f3537,
174
            f38         => $f38,
154
        f38         => $f38,
175
            "f38$f38"   => $f38,
155
        "f38$f38"   => $f38,
176
            f39         => $f39,
156
        f39         => $f39,
177
            "f39$f39"   => $f39,
157
        "f39$f39"   => $f39,
178
        );
179
    } else {
180
        $template->param(tagfield => '008');
181
    }
182
    $template->param(index => $index,
183
            result => $result,
184
            viewMaterialTypesMode => $viewMaterialTypesMode,
158
    );
185
    );
159
    output_html_with_http_headers $input, $cookie, $template->output;
186
    output_html_with_http_headers $input, $cookie, $template->output;
160
}
187
}
(-)a/installer/data/mysql/de-DE/mandatory/sysprefs.sql (+1 lines)
Lines 287-289 INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ( Link Here
287
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('ShelfBrowserUsesCcode','1','Use the item collection code when finding items for the shelf browser.','0','YesNo');
287
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('ShelfBrowserUsesCcode','1','Use the item collection code when finding items for the shelf browser.','0','YesNo');
288
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('AllowFineOverride','0','If on, staff will be able to issue books to patrons with fines greater than noissuescharge.','0','YesNo');
288
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('AllowFineOverride','0','If on, staff will be able to issue books to patrons with fines greater than noissuescharge.','0','YesNo');
289
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('AllFinesNeedOverride','1','If on, staff will be asked to override every fine, even if it is below noissuescharge.','0','YesNo');
289
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('AllFinesNeedOverride','1','If on, staff will be asked to override every fine, even if it is below noissuescharge.','0','YesNo');
290
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('TypeOfMaterialsView_006_008','0','Display Type of Materials for plugin of fields 006 and 008 when cataloguing','','YesNo');
(-)a/installer/data/mysql/en/mandatory/sysprefs.sql (+1 lines)
Lines 287-289 INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES Link Here
287
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('ShelfBrowserUsesCcode','1','Use the item collection code when finding items for the shelf browser.','0','YesNo');
287
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('ShelfBrowserUsesCcode','1','Use the item collection code when finding items for the shelf browser.','0','YesNo');
288
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('AllowFineOverride','0','If on, staff will be able to issue books to patrons with fines greater than noissuescharge.','0','YesNo');
288
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('AllowFineOverride','0','If on, staff will be able to issue books to patrons with fines greater than noissuescharge.','0','YesNo');
289
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('AllFinesNeedOverride','1','If on, staff will be asked to override every fine, even if it is below noissuescharge.','0','YesNo');
289
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('AllFinesNeedOverride','1','If on, staff will be asked to override every fine, even if it is below noissuescharge.','0','YesNo');
290
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('TypeOfMaterialsView_006_008','0','Display Type of Materials for plugin of fields 006 and 008 when cataloguing','','YesNo');
(-)a/installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql (+2 lines)
Lines 287-291 INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES(' Link Here
287
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('ShelfBrowserUsesLocation','1','Use the item location when finding items for the shelf browser.','1','YesNo');
287
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('ShelfBrowserUsesLocation','1','Use the item location when finding items for the shelf browser.','1','YesNo');
288
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('ShelfBrowserUsesHomeBranch','1','Use the item home branch when finding items for the shelf browser.','1','YesNo');
288
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('ShelfBrowserUsesHomeBranch','1','Use the item home branch when finding items for the shelf browser.','1','YesNo');
289
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('ShelfBrowserUsesCcode','1','Use the item collection code when finding items for the shelf browser.','0','YesNo');
289
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('ShelfBrowserUsesCcode','1','Use the item collection code when finding items for the shelf browser.','0','YesNo');
290
<<<<<<< HEAD:installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql
290
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('AllowFineOverride','0','If on, staff will be able to issue books to patrons with fines greater than noissuescharge.','0','YesNo');
291
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('AllowFineOverride','0','If on, staff will be able to issue books to patrons with fines greater than noissuescharge.','0','YesNo');
291
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('AllFinesNeedOverride','1','If on, staff will be asked to override every fine, even if it is below noissuescharge.','0','YesNo');
292
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('AllFinesNeedOverride','1','If on, staff will be asked to override every fine, even if it is below noissuescharge.','0','YesNo');
293
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('TypeOfMaterialsView_006_008','0','Display Type of Materials for plugin of fields 006 and 008 when cataloguing','','YesNo');
(-)a/installer/data/mysql/it-IT/necessari/sysprefs.sql (+1 lines)
Lines 274-276 INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ( Link Here
274
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('ShelfBrowserUsesCcode','1','Use the item collection code when finding items for the shelf browser.','0','YesNo');
274
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('ShelfBrowserUsesCcode','1','Use the item collection code when finding items for the shelf browser.','0','YesNo');
275
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('AllowFineOverride','0','If on, staff will be able to issue books to patrons with fines greater than noissuescharge.','0','YesNo');
275
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('AllowFineOverride','0','If on, staff will be able to issue books to patrons with fines greater than noissuescharge.','0','YesNo');
276
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('AllFinesNeedOverride','1','If on, staff will be asked to override every fine, even if it is below noissuescharge.','0','YesNo');
276
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('AllFinesNeedOverride','1','If on, staff will be asked to override every fine, even if it is below noissuescharge.','0','YesNo');
277
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('TypeOfMaterialsView_006_008','0','Display Type of Materials for plugin of fields 006 and 008 when cataloguing','','YesNo');
(-)a/installer/data/mysql/pl-PL/mandatory/sysprefs.sql (+1 lines)
Lines 286-288 INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ( Link Here
286
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('ShelfBrowserUsesCcode','1','Use the item collection code when finding items for the shelf browser.','0','YesNo');
286
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('ShelfBrowserUsesCcode','1','Use the item collection code when finding items for the shelf browser.','0','YesNo');
287
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('AllowFineOverride','0','If on, staff will be able to issue books to patrons with fines greater than noissuescharge.','0','YesNo');
287
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('AllowFineOverride','0','If on, staff will be able to issue books to patrons with fines greater than noissuescharge.','0','YesNo');
288
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('AllFinesNeedOverride','1','If on, staff will be asked to override every fine, even if it is below noissuescharge.','0','YesNo');
288
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('AllFinesNeedOverride','1','If on, staff will be asked to override every fine, even if it is below noissuescharge.','0','YesNo');
289
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('TypeOfMaterialsView_006_008','0','Display Type of Materials for plugin of fields 006 and 008 when cataloguing','','YesNo');
(-)a/installer/data/mysql/ru-RU/mandatory/system_preferences_full_optimal_for_install_only.sql (+1 lines)
Lines 341-343 INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ( Link Here
341
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('ShelfBrowserUsesCcode','1','Use the item collection code when finding items for the shelf browser.','0','YesNo');
341
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('ShelfBrowserUsesCcode','1','Use the item collection code when finding items for the shelf browser.','0','YesNo');
342
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('AllowFineOverride','0','If on, staff will be able to issue books to patrons with fines greater than noissuescharge.','0','YesNo');
342
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('AllowFineOverride','0','If on, staff will be able to issue books to patrons with fines greater than noissuescharge.','0','YesNo');
343
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('AllFinesNeedOverride','1','If on, staff will be asked to override every fine, even if it is below noissuescharge.','0','YesNo');
343
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('AllFinesNeedOverride','1','If on, staff will be asked to override every fine, even if it is below noissuescharge.','0','YesNo');
344
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('TypeOfMaterialsView_006_008','0','Display Type of Materials for plugin of fields 006 and 008 when cataloguing','','YesNo');
(-)a/installer/data/mysql/uk-UA/mandatory/system_preferences_full_optimal_for_install_only.sql (+1 lines)
Lines 366-368 INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ( Link Here
366
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('ShelfBrowserUsesCcode','1','Use the item collection code when finding items for the shelf browser.','0','YesNo');
366
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('ShelfBrowserUsesCcode','1','Use the item collection code when finding items for the shelf browser.','0','YesNo');
367
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('AllowFineOverride','0','If on, staff will be able to issue books to patrons with fines greater than noissuescharge.','0','YesNo');
367
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('AllowFineOverride','0','If on, staff will be able to issue books to patrons with fines greater than noissuescharge.','0','YesNo');
368
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('AllFinesNeedOverride','1','If on, staff will be asked to override every fine, even if it is below noissuescharge.','0','YesNo');
368
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('AllFinesNeedOverride','1','If on, staff will be asked to override every fine, even if it is below noissuescharge.','0','YesNo');
369
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('TypeOfMaterialsView_006_008','0','Display Type of Materials for plugin of fields 006 and 008 when cataloguing','','YesNo');
(-)a/installer/data/mysql/updatedatabase.pl (+8 lines)
Lines 4022-4027 if (C4::Context->preference("Version") < TransformToNum($DBversion)) { Link Here
4022
    SetVersion($DBversion);
4022
    SetVersion($DBversion);
4023
};
4023
};
4024
4024
4025
$DBversion = '3.03.00.XXX'; #FIXME
4026
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
4027
    # 006/008 plugins show Type of Materials and change fields form to view the allowed values for the different positions
4028
    $dbh->do("INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('TypeOfMaterialsView_006_008','0','Display Type of Materials for plugin of fields 006 and 008 when cataloguing','','YesNo')");
4029
    print "Upgrade to $DBversion done (006/008 plugins show Type of Materials positions selection)\n";
4030
    SetVersion($DBversion);
4031
}
4032
4025
=head1 FUNCTIONS
4033
=head1 FUNCTIONS
4026
4034
4027
=head2 DropAllForeignKeys($table)
4035
=head2 DropAllForeignKeys($table)
(-)a/koha-tmpl/intranet-tmpl/prog/en/js/xmlControlfield.js (+341 lines)
Line 0 Link Here
1
2
3
// Add an option to a select form field
4
function add_option(select, text, value, selected)
5
{
6
    var option = document.createElement('option');
7
    option.text = text;
8
    option.value = value;
9
    if (selected) option.selected = true;
10
    try {
11
        select.add(option, null);
12
    }
13
    catch(ex) {
14
        select.add(option);
15
    }
16
}//add_option
17
18
19
// Return the value of a parameter from the url
20
function returnValueParam(param)
21
{
22
    var params = location.search.substr(1);
23
    var arr = params.split("&");
24
    var pattern = param + "=";
25
    for (var i=0; i < arr.length; i++) {
26
        if (arr[i].indexOf(pattern) == 0) {
27
            return unescape(arr[i].substr(pattern.length));
28
        }
29
    }
30
    return "";
31
}//returnValueParam
32
33
34
// Return a value from a position on the result string
35
function returnValuePosFromResult(result, pos)
36
{
37
    var index;
38
    if ((index = pos.indexOf("-")) > 0) {
39
        var ini = parseInt(pos.substring(0, index) ,10);
40
        var end = parseInt(pos.substr(index + 1) ,10);
41
        return result.substring(ini, end + 1);
42
    } else {
43
        return result.substr(pos, 1);
44
    }
45
}//returnValuePosFromResult
46
47
48
// Build string from form fields
49
function returnResultFromValues(form)
50
{
51
    var resultStr = form.result.value;
52
    var pos;
53
    var value;
54
    for (var i=0; i < form.elements.length; i++) {
55
        var pattern = new RegExp("f[0-9]+(?:[0-9]+)?");
56
        if (pattern.test(form.elements[i].name)) {
57
            pos = form.elements[i].name.substr(1);
58
            value = (pos.indexOf("-") > 0)?form.elements[i].value:form.elements[i].options[form.elements[i].selectedIndex].value;
59
            resultStr = changePosResult(pos, value, resultStr);
60
        }
61
    }
62
    return resultStr;
63
}//returnResultFromValues
64
65
66
// Build/modify result string for a position and a value
67
function changePosResult(pos, value, resultStr)
68
{
69
    var index;
70
    var result = "";
71
    if ((index = pos.indexOf("-")) > 0) {
72
        var ini = parseInt(pos.substring(0, index) ,10);
73
        var end = parseInt(pos.substr(index + 1) ,10);
74
        var roffset = (1 + end - ini)- value.length;
75
        if (roffset > 0) for (var i=0; i < roffset; i++) value += " ";
76
        if (ini == 0)
77
            result = value + resultStr.substr(end + 1);
78
        else {
79
            result = resultStr.substring(0, ini) + value;
80
            if (end < resultStr.length)
81
                result += resultStr.substr(end + 1);
82
        }
83
    } else {
84
        var ini = parseInt(pos, 10);
85
        if (ini == 0)
86
            result = value + resultStr.substr(1);
87
        else {
88
            result = resultStr.substring(0, ini) + value;
89
            if (ini < resultStr.length)
90
                result += resultStr.substr(ini + 1);
91
        }
92
    }
93
    result = result.replace(/#/g, " ");
94
    return result;
95
}//changePosResult
96
97
98
// Display the result string on a table indicating positions and coloring them if wrong or selected
99
function renderResult(tr_result, result)
100
{
101
    if (tr_result) {
102
        var td;
103
        if (tr_result.cells.length != result.length) {
104
            for (var i = tr_result.cells.length - 1; i >= 0; i--)
105
                tr_result.deleteCell(i);
106
            for (var i=0; i < result.length; i++) {
107
                value = result.charAt(i);
108
                td = tr_result.insertCell(tr_result.cells.length);
109
            }
110
        }
111
        var value;
112
        var ini = -1;
113
        var end = -1;
114
        var args = renderResult.arguments;
115
        if (args.length > 2) {
116
            var index;
117
            if ((index = args[2].indexOf("-")) > 0) {
118
                ini = parseInt(args[2].substring(0, index) ,10);
119
                end = parseInt(args[2].substr(index + 1) ,10);
120
            } else ini = parseInt(args[2], 10);
121
        }
122
        for (var i=0; i < result.length; i++) {
123
            value = result.charAt(i);
124
            td = tr_result.cells[i];
125
            if (td.style.backgroundColor != "yellow") td.style.backgroundColor = "white";
126
            td.innerHTML = (value == " ")?"&nbsp;":value;
127
            td.title = "Pos " + i + ". Value: \"" + value + "\"";
128
            if (ini >= 0) {
129
                if (end > 0) {
130
                    if (ini <= i && i <= end) td.style.backgroundColor = "#cccccc";
131
                } else if (i == ini) td.style.backgroundColor = "#cccccc";
132
            } else {
133
                var pos = (i < 10)?'0' + i:i + '';
134
                var obj;
135
                if ((obj = document.getElementById('f' + pos)) != null) {
136
                    var found = false;
137
                    for (var j=0; j < obj.options.length && !found; j++)
138
                        if (obj.options[j].value == value) found = true;
139
                    if (!found) {
140
                        td.style.backgroundColor = "yellow";
141
                        td.title = "Pos " + i + ". Bad Value: \"" + value + "\"";
142
                    }
143
                }
144
            }
145
        }//for
146
    }
147
}//renderResult
148
149
150
// Change displaying of result in the page
151
function changeH4Result(form, h4_result, tr_result, pos, value)
152
{
153
    var resultStr = form.result.value;
154
    var result = changePosResult(pos, value, resultStr);
155
    renderResult(tr_result, result, pos);
156
    h4_result.innerHTML = result;
157
    form.result.value = result;
158
}//changeH4Result
159
160
161
162
// Class to read the xml and render the type of material
163
(function()
164
{
165
166
    xmlControlField = function(tagfield, form_id, select, table, h4_result, tr_result, idMaterial)
167
    {
168
        this.tagfield = tagfield;
169
        this.idMaterial = idMaterial;
170
        this.form_id = form_id;
171
        this.form = document.getElementById(form_id);
172
        this.select = select;
173
        this.table = table;
174
        this.h4_result = h4_result;
175
        this.tr_result = tr_result;
176
    };//xmlControlField
177
    
178
    
179
    xmlControlField.prototype =
180
    {
181
        tagfield: "",
182
        idMaterial: "",
183
        root: null,
184
        form_id: "",
185
        form: null,
186
        select: null,
187
        table: null,
188
        h4_result: "",
189
        tr_result: "",
190
        
191
        
192
        setIdMaterial: function(idMaterial)
193
        {
194
            this.idMaterial = idMaterial;
195
        },//setIdMaterial
196
        
197
        loadXmlValues: function()
198
        {
199
            var xmlhttp;
200
            try {
201
                if (window.XMLHttpRequest) {
202
                    xmlhttp = new XMLHttpRequest();
203
                    if (xmlhttp.overrideMimeType) {
204
                        xmlhttp.overrideMimeType('text/xml');
205
                    }
206
                } else if (window.ActiveXObject) {
207
                    xmlhttp = new ActiveXObject("Microsoft.XMLHTTP") || new ActiveXObject("Msxml2.XMLHTTP");
208
                }
209
                xmlhttp.open("GET", "/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_" + this.tagfield + ".xml", false);
210
                xmlhttp.send(null);
211
                this.xmlDoc = xmlhttp.responseXML;
212
                if (this.xmlDoc) this.renderTemplate();
213
            } catch (e) {
214
                //alert(e);
215
            }
216
        },//loadXmlValues
217
        
218
        
219
        renderTemplate: function()
220
        {
221
            this.root = this.xmlDoc.documentElement;
222
            if (this.root.nodeName == "Tagfield" && this.root.nodeType == 1 && this.root.hasChildNodes()) {
223
                var tag = this.root.attributes.getNamedItem("tag").nodeValue;
224
                var nodeMaterial = this.root.getElementsByTagName('Material');
225
                if (nodeMaterial != null && nodeMaterial.length > 0) {
226
                    if (this.idMaterial == "") this.idMaterial = nodeMaterial[0].attributes.getNamedItem("id").nodeValue;
227
                    this.renderSelectMaterial(nodeMaterial);
228
                    this.renderPositions(nodeMaterial, (this.form.result.value != "")?this.form.result.value:returnValueParam("result"));
229
                }
230
            }
231
        },//renderTemplate
232
        
233
        
234
        renderSelectMaterial: function(nodeMaterial)
235
        {
236
            if (this.select != null && nodeMaterial != null && nodeMaterial.length > 0) {
237
                if (this.select.options.length <= 1) {
238
                    var id;
239
                    var name;
240
                    var arrSort = new Array();
241
                    var arrEquiv = new Array();
242
                    for (var i=0; i < nodeMaterial.length; i++) {
243
                        id = nodeMaterial[i].attributes.getNamedItem("id").nodeValue;
244
                        name = nodeMaterial[i].attributes.getNamedItem("name").nodeValue;
245
                        arrEquiv[id] = i;
246
                        arrSort.push(id);
247
                    }
248
                    arrSort.sort();
249
                    var j;
250
                    for (var i=0; i < arrSort.length; i++) {
251
                        j = arrEquiv[arrSort[i]];
252
                        add_option(this.select, arrSort[i] + " - " + nodeMaterial[j].attributes.getNamedItem("name").nodeValue, arrSort[i], (this.idMaterial != "" && arrSort[i] == this.idMaterial)?true:false);
253
                    }
254
                } else if (this.idMaterial != "") {
255
                    for (var i=0; i < this.select.options.length; i++) {
256
                        if (this.select.options[i].value == this.idMaterial) this.select.options[i].selected = true;
257
                    }
258
                }
259
            }
260
        },//renderSelectMaterial
261
        
262
        
263
        renderPositions: function(nodeMaterial, result)
264
        {
265
            var materialNode;
266
            try {
267
                var resultXPath = this.xmlDoc.evaluate("//a:Material[@id='" + this.idMaterial + "']", this.xmlDoc.documentElement, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null);
268
                materialNode = resultXPath.singleNodeValue;
269
            } catch (e) {
270
                for (var i=0; i < nodeMaterial.length; i++) {
271
                    if (this.idMaterial == nodeMaterial[i].attributes.getNamedItem("id").nodeValue) {
272
                        materialNode = nodeMaterial[i];
273
                        break;
274
                    }
275
                }
276
            }
277
            if (this.table != null) {
278
                var tbody = this.table.tBodies[0];
279
                if (tbody.rows.length > 0)
280
                    for (var i = tbody.rows.length - 1; i >= 1; i--)
281
                        tbody.deleteRow(i);
282
                if (materialNode != undefined && materialNode != null && materialNode.nodeType == 1 && materialNode.hasChildNodes()) {
283
                    var nodePos = materialNode.firstChild;
284
                    var tr;
285
                    var td;
286
                    var title;
287
                    var pos;
288
                    var value;
289
                    var strInnerHTML = "";
290
                    var selected;
291
                    var index;
292
                    var url;
293
                    while (nodePos != null) {
294
                        if (nodePos.nodeType == 1 && nodePos.nodeName == "Position") {
295
                            tr = tbody.insertRow(tbody.rows.length);
296
                            td = tr.insertCell(tr.cells.length);
297
                            pos = nodePos.attributes.getNamedItem("pos").nodeValue;
298
                            title = ((nodePos.getAttributeNode("description") || nodePos.hasAttribute("description")) && nodePos.getAttribute("description") != "")?nodePos.attributes.getNamedItem("description").nodeValue:nodePos.attributes.getNamedItem("name").nodeValue;
299
                            try {
300
                                url = ((nodePos.getAttributeNode("url") || nodePos.hasAttribute("url")) && nodePos.getAttribute("url") != "" && nodePos.getAttribute("urltext") != "")?"&nbsp;<a href='" + nodePos.attributes.getNamedItem("url").nodeValue + "' target='_blank'>" + nodePos.attributes.getNamedItem("urltext").nodeValue + "</a>":"";
301
                            } catch (e) { url = "";}
302
                            td.innerHTML = "<label for='" + pos + "' title='" + title + "'>" + pos + " - " + nodePos.attributes.getNamedItem("name").nodeValue + url + "</label>";
303
                            td = tr.insertCell(tr.cells.length);
304
                            value = returnValuePosFromResult(result, pos);
305
                            if ((index = pos.indexOf("-")) > 0) {
306
                                var ini = parseInt(pos.substring(0, index) ,10);
307
                                var end = parseInt(pos.substr(index + 1) ,10);
308
                                value = value.replace(/ /g, "#");
309
                                strInnerHTML = "<input type='text' name='f" + pos + "' id='f" + pos + "' value='" + value + "' size='" + (1 + end - ini) + "' maxlength='" + (1 + end - ini) + "' onkeyup='this.value = this.value.replace(/ /g, \"#\"); changeH4Result(document.getElementById(\"" + this.form_id + "\"), document.getElementById(\"" + this.h4_result + "\"), document.getElementById(\"" + this.tr_result + "\"), \"" + pos + "\", this.value)' onfocus='changeH4Result(document.getElementById(\"" + this.form_id + "\"), document.getElementById(\"" + this.h4_result + "\"), document.getElementById(\"" + this.tr_result + "\"), \"" + pos + "\", this.value)' />";
310
                            } else {
311
                                strInnerHTML = "<select name='f" + pos + "' id='f" + pos + "' style='width:400px' onchange='changeH4Result(document.getElementById(\"" + this.form_id + "\"), document.getElementById(\"" + this.h4_result + "\"), document.getElementById(\"" + this.tr_result + "\"), \"" + pos + "\", this.options[this.selectedIndex].value)' onfocus='changeH4Result(document.getElementById(\"" + this.form_id + "\"), document.getElementById(\"" + this.h4_result + "\"), document.getElementById(\"" + this.tr_result + "\"), \"" + pos + "\", this.options[this.selectedIndex].value)'>";
312
                                value = value.replace("#", " ");
313
                                if (nodePos.hasChildNodes()) {
314
                                    var nodeValue = nodePos.firstChild;
315
                                    while (nodeValue != null) {
316
                                        if (nodeValue.nodeType == 1 && nodeValue.nodeName == "Value" && nodeValue.hasChildNodes()) {
317
                                            var valNode = nodeValue.firstChild.nodeValue;
318
                                            valNode = valNode.replace("#", " ");
319
                                            selected = (value == valNode)?"selected='selected'":"";
320
                                            strInnerHTML += "<option value='"  + valNode + "' " + selected + ">" + nodeValue.firstChild.nodeValue + " - " + nodeValue.attributes.getNamedItem("description").nodeValue +  "</option>";
321
                                        }
322
                                        nodeValue = nodeValue.nextSibling;
323
                                    }
324
                                } else {
325
                                    strInnerHTML += "<option value=' ' selected='selected'># - " + title +  "</option>";
326
                                    strInnerHTML += "<option value='|' selected='selected'>| - " + title +  "</option>";
327
                                }
328
                                strInnerHTML += "</select>";
329
                            }
330
                            //alert(strInnerHTML);
331
                            td.innerHTML = strInnerHTML;
332
                        }
333
                        nodePos = nodePos.nextSibling;
334
                    }
335
                }
336
            }
337
        }//renderPositions
338
    };
339
340
})();
341
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref (+6 lines)
Lines 118-121 Cataloging: Link Here
118
                  yes: Hide
118
                  yes: Hide
119
                  no: "Don't hide"
119
                  no: "Don't hide"
120
            - items marked as suppressed from OPAC search results. Note that you must have the <code>Suppress</code> index set up in Zebra and at least one suppressed item, or your searches will be broken.
120
            - items marked as suppressed from OPAC search results. Note that you must have the <code>Suppress</code> index set up in Zebra and at least one suppressed item, or your searches will be broken.
121
        -
122
            - pref: TypeOfMaterialsView_006_008
123
              choices:
124
                  yes: "Don't hide"
125
                  no: Hide
126
            - 006/008 plugins show Type of Materials and change fields form to view the allowed values for the different positions.
121
127
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_006.tmpl (-50 / +107 lines)
Lines 1-14 Link Here
1
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
1
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2
<title>Koha &rsaquo; Cataloging &rsaquo; 006 builder</title>
2
<title>Koha &rsaquo; Cataloging &rsaquo; 006 builder</title>
3
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
3
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4
5
<!-- TMPL_IF NAME="viewMaterialTypesMode" -->
6
<script type="text/javascript" src='<!-- TMPL_VAR name="themelang" -->/js/xmlControlfield.js'></script>
7
<script type="text/javascript">
8
    var objXmlControlField;
9
    var tr_result;
10
    var h4_result;
11
12
    function loadXmlValues()
13
    {
14
        var form = document.f_pop;
15
        h4_result = document.getElementById("h4_result");
16
        tr_result = document.getElementById("tr_result");
17
        objXmlControlField = new xmlControlField('<!--TMPL_VAR Name="tagfield"-->', 'f_pop', document.getElementById('material_type'), document.getElementById('table_material_types'), 'h4_result', 'tr_result', '');
18
        objXmlControlField.loadXmlValues();
19
        renderResult(tr_result, (form.result.value != "")?form.result.value:returnValueParam("result"));
20
    }//loadXmlValues
21
22
    function changeTypeofMaterial(form)
23
    {
24
        if (confirm('Show values for \'' + form.material_type.options[form.material_type.selectedIndex].text + '\' material type?')) {
25
            objXmlControlField.setIdMaterial(form.material_type.options[form.material_type.selectedIndex].value);
26
            var result = returnResultFromValues(form);
27
            objXmlControlField.renderTemplate();
28
            h4_result.innerHTML = result;
29
            renderResult(tr_result, result);
30
            form.result.value = result;
31
        }
32
    }//changeTypeofMaterial
33
</script>
34
<!-- /TMPL_IF -->
35
4
</head>
36
</head>
5
<body style="padding:1em;">
37
<body style="padding:1em;" <!-- TMPL_IF NAME="viewMaterialTypesMode" -->onload="loadXmlValues()"<!-- /TMPL_IF -->>
6
<h3>006 Fixed-length data elements--Additional material characteristics--General information</h3>
38
<h3>006 Fixed-length data elements--Additional material characteristics--General information</h3>
7
<form name="f_pop" onsubmit="report()" action="">
39
40
<!-- TMPL_IF NAME="viewMaterialTypesMode" -->
41
<table border="1">
42
    <tr id="tr_result">
43
    </tr>
44
</table>
45
<h4 id="h4_result"><!--TMPL_VAR Name="result"--></h4>
46
<!-- /TMPL_IF -->
47
48
<form name="f_pop" id="f_pop" onsubmit="report()" action="">
8
<input type="hidden" name="plugin_name" value="marc21_field_006.pl" />
49
<input type="hidden" name="plugin_name" value="marc21_field_006.pl" />
9
<table>
50
<input type="hidden" id="<!-- TMPL_VAR NAME='index'-->" name="index" value="<!-- TMPL_VAR NAME='index'-->" />
10
	<tr>
51
<input type="hidden" name="result" value="<!--TMPL_VAR Name="result"-->" />
11
		<td><label for="f0">0 Form of material</label></td>
52
<table id="table_material_types">
53
    <!-- TMPL_IF NAME="viewMaterialTypesMode" -->
54
    <tr id="tr_material_types">
55
        <td><label for="material_type" title="Select a type of material to specify the variable values">Type of Material</label></td>
56
        <td>
57
            <select name="material_type" id="material_type" title="Select a type of material to specify the variable values" onchange="changeTypeofMaterial(this.form)">
58
                <option value="">Select a type of material</option>
59
            </select>
60
        </td>
61
    </tr>
62
    <!-- TMPL_ELSE -->
63
    <tr>
64
        <td><label for="f0">0 Form of material</label></td>
12
                <td>
65
                <td>
13
                        <select name="f0" id="f0" size="1">
66
                        <select name="f0" id="f0" size="1">
14
                        <!-- TMPL_IF name="f0a" -->
67
                        <!-- TMPL_IF name="f0a" -->
Lines 101-113 Link Here
101
                                <option value="t">t - Manuscript language material</option>
154
                                <option value="t">t - Manuscript language material</option>
102
                        <!-- /TMPL_IF -->
155
                        <!-- /TMPL_IF -->
103
                        </select>
156
                        </select>
104
		</td>
157
        </td>
105
	</tr>
158
    </tr>
106
	<tr>
159
    <tr>
107
                <td>01-04 Illustrations </td>
160
                <td>01-04 Illustrations </td>
108
                <td>(auto-filled from 300)<input type="hidden" name="f014" size="4"  maxlength="4" value="<!-- TMPL_VAR NAME="f014" -->"/></td>
161
                <td>(auto-filled from 300)<input type="hidden" name="f014" size="4"  maxlength="4" value="<!-- TMPL_VAR NAME="f014" -->"/></td>
109
        </tr>
162
        </tr>
110
	        <tr>
163
            <tr>
111
                <!-- 5 Target Audience -->
164
                <!-- 5 Target Audience -->
112
                <td><label for="f5">5- Target Audience</label></td>
165
                <td><label for="f5">5- Target Audience</label></td>
113
                <td>
166
                <td>
Lines 119-125 Link Here
119
                        <option value="|">|- Default</option>
172
                        <option value="|">|- Default</option>
120
                        <!-- /TMPL_IF -->
173
                        <!-- /TMPL_IF -->
121
174
122
			<!-- TMPL_IF name="f50" -->
175
            <!-- TMPL_IF name="f50" -->
123
                        <option value=" " selected="selected">#- Unknown or not specified</option>
176
                        <option value=" " selected="selected">#- Unknown or not specified</option>
124
                        <!-- TMPL_ELSE -->
177
                        <!-- TMPL_ELSE -->
125
                        <option value=" ">#- Unknown or not specified</option>
178
                        <option value=" ">#- Unknown or not specified</option>
Lines 175-181 Link Here
175
                </select>
228
                </select>
176
                </td>
229
                </td>
177
        </tr>
230
        </tr>
178
	 <tr>
231
     <tr>
179
                <!-- 06 Form of an item -->
232
                <!-- 06 Form of an item -->
180
                <td><label for="f6">06- Form of an item</label></td>
233
                <td><label for="f6">06- Form of an item</label></td>
181
                <td>
234
                <td>
Lines 246-252 Link Here
246
                <td><label for="f11">11- Government Publication</label></td>
299
                <td><label for="f11">11- Government Publication</label></td>
247
                <td>
300
                <td>
248
                <select name="f11" id="f11" size="1">
301
                <select name="f11" id="f11" size="1">
249
		
302
        
250
                        <!-- TMPL_IF name="f11|" -->
303
                        <!-- TMPL_IF name="f11|" -->
251
                        <option value="|" selected="selected">|- Default</option>
304
                        <option value="|" selected="selected">|- Default</option>
252
                        <!-- TMPL_ELSE -->
305
                        <!-- TMPL_ELSE -->
Lines 333-348 Link Here
333
                        <!-- TMPL_ELSE -->
386
                        <!-- TMPL_ELSE -->
334
                        <option value="0">0- Not a conference publication</option>
387
                        <option value="0">0- Not a conference publication</option>
335
                        <!-- /TMPL_IF -->
388
                        <!-- /TMPL_IF -->
336
			<!-- TMPL_IF name="f121" -->
389
            <!-- TMPL_IF name="f121" -->
337
                        <option value="1" selected="selected">1- Conference publication</option>
390
                        <option value="1" selected="selected">1- Conference publication</option>
338
                        <!-- TMPL_ELSE -->
391
                        <!-- TMPL_ELSE -->
339
                        <option value="1">1- Conference publication</option>
392
                        <option value="1">1- Conference publication</option>
340
                        <!-- /TMPL_IF -->
393
                        <!-- /TMPL_IF -->
341
394
342
		</select>
395
        </select>
343
		</td>
396
        </td>
344
	</tr>
397
    </tr>
345
	<tr>
398
    <tr>
346
                <td><label for="f13">13- Festschrift</label></td>
399
                <td><label for="f13">13- Festschrift</label></td>
347
                <td>
400
                <td>
348
                <select name="f13" id="f13" size="1">
401
                <select name="f13" id="f13" size="1">
Lines 351-357 Link Here
351
                        <!-- TMPL_ELSE -->
404
                        <!-- TMPL_ELSE -->
352
                        <option value="0">0- Not a festschrift</option>
405
                        <option value="0">0- Not a festschrift</option>
353
                        <!-- /TMPL_IF -->
406
                        <!-- /TMPL_IF -->
354
			<!-- TMPL_IF name="f131" -->
407
            <!-- TMPL_IF name="f131" -->
355
                        <option value="1" selected="selected">1- Festschrift</option>
408
                        <option value="1" selected="selected">1- Festschrift</option>
356
                        <!-- TMPL_ELSE -->
409
                        <!-- TMPL_ELSE -->
357
                        <option value="1">1- Festschrift</option>
410
                        <option value="1">1- Festschrift</option>
Lines 369-375 Link Here
369
                        <!-- TMPL_ELSE -->
422
                        <!-- TMPL_ELSE -->
370
                        <option value="|">|- Default</option>
423
                        <option value="|">|- Default</option>
371
                        <!-- /TMPL_IF -->
424
                        <!-- /TMPL_IF -->
372
	
425
    
373
                        <!-- TMPL_IF name="f140" -->
426
                        <!-- TMPL_IF name="f140" -->
374
                        <option value="0" selected="selected">0- No Index</option>
427
                        <option value="0" selected="selected">0- No Index</option>
375
                        <!-- TMPL_ELSE -->
428
                        <!-- TMPL_ELSE -->
Lines 382-391 Link Here
382
                        <!-- /TMPL_IF -->
435
                        <!-- /TMPL_IF -->
383
                </select>
436
                </select>
384
                </td>
437
                </td>
385
        	</tr>
438
            </tr>
386
		<tr><td>15 Undefined</td><td></td>
439
        <tr><td>15 Undefined</td><td></td>
387
		</tr>
440
        </tr>
388
		<tr>
441
        <tr>
389
                <td><label for="f16">16- Literary form</label></td>
442
                <td><label for="f16">16- Literary form</label></td>
390
                <td>
443
                <td>
391
                <select name="f16" id="f16" size="1">
444
                <select name="f16" id="f16" size="1">
Lines 399-410 Link Here
399
                        <!-- TMPL_ELSE -->
452
                        <!-- TMPL_ELSE -->
400
                        <option value="1">1- Fiction</option>
453
                        <option value="1">1- Fiction</option>
401
                        <!-- /TMPL_IF -->
454
                        <!-- /TMPL_IF -->
402
			<!-- TMPL_IF name="f16c" -->
455
            <!-- TMPL_IF name="f16c" -->
403
                        <option value="c" selected="selected">c- Comic strips</option>
456
                        <option value="c" selected="selected">c- Comic strips</option>
404
                        <!-- TMPL_ELSE -->
457
                        <!-- TMPL_ELSE -->
405
                        <option value="c">c- Comic strips</option>
458
                        <option value="c">c- Comic strips</option>
406
                        <!-- /TMPL_IF -->
459
                        <!-- /TMPL_IF -->
407
			
460
            
408
                        <!-- TMPL_IF name="f16d" -->
461
                        <!-- TMPL_IF name="f16d" -->
409
                        <option value="d" selected="selected">d- Dramas</option>
462
                        <option value="d" selected="selected">d- Dramas</option>
410
                        <!-- TMPL_ELSE -->
463
                        <!-- TMPL_ELSE -->
Lines 418-449 Link Here
418
                        <option value="e">e- Essays</option>
471
                        <option value="e">e- Essays</option>
419
                        <!-- /TMPL_IF -->
472
                        <!-- /TMPL_IF -->
420
473
421
			
474
            
422
                        <!-- TMPL_IF name="f16f" -->
475
                        <!-- TMPL_IF name="f16f" -->
423
                        <option value="f" selected="selected">f- Novels</option>
476
                        <option value="f" selected="selected">f- Novels</option>
424
                        <!-- TMPL_ELSE -->
477
                        <!-- TMPL_ELSE -->
425
                        <option value="f">f- Novels</option>
478
                        <option value="f">f- Novels</option>
426
                        <!-- /TMPL_IF -->
479
                        <!-- /TMPL_IF -->
427
480
428
			
481
            
429
                        <!-- TMPL_IF name="f16h" -->
482
                        <!-- TMPL_IF name="f16h" -->
430
                        <option value="h" selected="selected">h- Humor,satires,etc.</option>
483
                        <option value="h" selected="selected">h- Humor,satires,etc.</option>
431
                        <!-- TMPL_ELSE -->
484
                        <!-- TMPL_ELSE -->
432
                        <option value="h">h- Humor,satires,etc.</option>
485
                        <option value="h">h- Humor,satires,etc.</option>
433
                        <!-- /TMPL_IF -->
486
                        <!-- /TMPL_IF -->
434
			
487
            
435
                        <!-- TMPL_IF name="f16i" -->
488
                        <!-- TMPL_IF name="f16i" -->
436
                        <option value="i" selected="selected">i- Letters</option>
489
                        <option value="i" selected="selected">i- Letters</option>
437
                        <!-- TMPL_ELSE -->
490
                        <!-- TMPL_ELSE -->
438
                        <option value="i">i- Letters</option>
491
                        <option value="i">i- Letters</option>
439
                        <!-- /TMPL_IF -->
492
                        <!-- /TMPL_IF -->
440
			
493
            
441
                        <!-- TMPL_IF name="f16j" -->
494
                        <!-- TMPL_IF name="f16j" -->
442
                        <option value="j" selected="selected">j- Short stories</option>
495
                        <option value="j" selected="selected">j- Short stories</option>
443
                        <!-- TMPL_ELSE -->
496
                        <!-- TMPL_ELSE -->
444
                        <option value="j">j- Short stories</option>
497
                        <option value="j">j- Short stories</option>
445
                        <!-- /TMPL_IF -->
498
                        <!-- /TMPL_IF -->
446
			
499
            
447
                        <!-- TMPL_IF name="f16m" -->
500
                        <!-- TMPL_IF name="f16m" -->
448
                        <option value="m" selected="selected">m- Mixed forms</option>
501
                        <option value="m" selected="selected">m- Mixed forms</option>
449
                        <!-- TMPL_ELSE -->
502
                        <!-- TMPL_ELSE -->
Lines 461-467 Link Here
461
                        <!-- TMPL_ELSE -->
514
                        <!-- TMPL_ELSE -->
462
                        <option value="s">s- Speeches</option>
515
                        <option value="s">s- Speeches</option>
463
                        <!-- /TMPL_IF -->
516
                        <!-- /TMPL_IF -->
464
			
517
            
465
                        <!-- TMPL_IF name="f16u" -->
518
                        <!-- TMPL_IF name="f16u" -->
466
                        <option value="u" selected="selected">u- Unknown</option>
519
                        <option value="u" selected="selected">u- Unknown</option>
467
                        <!-- TMPL_ELSE -->
520
                        <!-- TMPL_ELSE -->
Lines 471-477 Link Here
471
                </select>
524
                </select>
472
                </td>
525
                </td>
473
        </tr>
526
        </tr>
474
	<tr>
527
    <tr>
475
                <td><label for="f17">17- Biography</label></td>
528
                <td><label for="f17">17- Biography</label></td>
476
                <td>
529
                <td>
477
                <select name="f17" id="f17" size="1">
530
                <select name="f17" id="f17" size="1">
Lines 494-500 Link Here
494
                        <option value="c" selected="selected">c- Collective biography</option>                              <!-- TMPL_ELSE -->
547
                        <option value="c" selected="selected">c- Collective biography</option>                              <!-- TMPL_ELSE -->
495
                        <option value="c">c- Collective biography</option>
548
                        <option value="c">c- Collective biography</option>
496
                        <!-- /TMPL_IF -->
549
                        <!-- /TMPL_IF -->
497
			
550
            
498
                        <!-- TMPL_IF name="f17d" -->
551
                        <!-- TMPL_IF name="f17d" -->
499
                        <option value="d" selected="selected">d- Contains biographical information</option>                              <!-- TMPL_ELSE -->
552
                        <option value="d" selected="selected">d- Contains biographical information</option>                              <!-- TMPL_ELSE -->
500
                        <option value="d">d- Contains biographical information</option>
553
                        <option value="d">d- Contains biographical information</option>
Lines 503-508 Link Here
503
                </td>
556
                </td>
504
        </tr>
557
        </tr>
505
558
559
    <!-- /TMPL_IF -->
506
</table>
560
</table>
507
<fieldset class="action"><input type="submit" value="OK" /> <a href="#" class="cancel close">Cancel</a></fieldset>
561
<fieldset class="action"><input type="submit" value="OK" /> <a href="#" class="cancel close">Cancel</a></fieldset>
508
</form>
562
</form>
Lines 510-533 Link Here
510
function report() {
564
function report() {
511
            var doc   = opener.document; 
565
            var doc   = opener.document; 
512
            var field = doc.getElementById("<!-- TMPL_VAR NAME='index'-->");
566
            var field = doc.getElementById("<!-- TMPL_VAR NAME='index'-->");
513
        
567
            <!-- TMPL_IF NAME="viewMaterialTypesMode" -->
568
            field.value = document.getElementById("h4_result").innerHTML;
569
            <!-- TMPL_ELSE -->
514
            field.value = 
570
            field.value = 
515
			'<!-- TMPL_VAR NAME="dateentered" -->'+
571
            '<!-- TMPL_VAR NAME="dateentered" -->'+
516
			document.f_pop.f0.value+
572
            document.f_pop.f0.value+
517
			document.f_pop.f014.value+
573
            document.f_pop.f014.value+
518
			document.f_pop.f5.value+
574
            document.f_pop.f5.value+
519
			document.f_pop.f6.value+
575
            document.f_pop.f6.value+
520
			document.f_pop.f710.value+
576
            document.f_pop.f710.value+
521
			document.f_pop.f11.value+
577
            document.f_pop.f11.value+
522
			document.f_pop.f12.value+
578
            document.f_pop.f12.value+
523
			document.f_pop.f13.value+
579
            document.f_pop.f13.value+
524
			document.f_pop.f14.value+ ' '+
580
            document.f_pop.f14.value+ ' '+
525
			document.f_pop.f16.value+
581
            document.f_pop.f16.value+
526
			document.f_pop.f17.value;
582
            document.f_pop.f17.value;
527
		self.close();
583
            <!-- /TMPL_IF -->
528
		return false;
584
        self.close();
529
	}
585
        return false;
530
	//]]>
586
    }
587
    //]]>
531
</script>
588
</script>
532
589
533
<!-- TMPL_INCLUDE NAME="popup-bottom.inc" -->
590
<!-- TMPL_INCLUDE NAME="popup-bottom.inc" -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_006.xml (+795 lines)
Line 0 Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<Tagfield tag="006" xmlns="http://koha-community.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation= "./marc21_field_CF.xsd">
3
  <Material id="BKS" name="Books" description="">
4
    <Position pos="00" name="Form of material" description="">
5
      <Value description="Language material">a</Value>
6
      <Value description="Manuscript language material">t</Value>
7
    </Position>
8
    <Position pos="01-04" name="Illustrations" description="Up to four (4) one-character alphabetic codes (recorded in alphabetical order) that indicate the presence of types of illustrations in the item. If fewer than four alphabetic codes are assigned, the codes are left justified and unused positions contain blanks (#)">
9
      <Value description="No illustrations">#</Value>
10
      <Value description="Illustrations">a</Value>
11
      <Value description="Maps">b</Value>
12
      <Value description="Portraits">c</Value>
13
      <Value description="Charts">d</Value>
14
      <Value description="Plans">e</Value>
15
      <Value description="Plates">f</Value>
16
      <Value description="Music">g</Value>
17
      <Value description="Facsimiles">h</Value>
18
      <Value description="Coats of arms">i</Value>
19
      <Value description="Genealogical tables">j</Value>
20
      <Value description="Forms">k</Value>
21
      <Value description="Samples">l</Value>
22
      <Value description="Phonodisc, phonowire, etc">m</Value>
23
      <Value description="Photographs">o</Value>
24
      <Value description="Illuminations">p</Value>
25
      <Value description="No attempt to code">|</Value>
26
    </Position>
27
    <Position pos="05" name="Target audience" description="One- character alphabetic code that describes the intellectual level of the target audience for which the material is intended">
28
      <Value description="Unknown or not specified">#</Value>
29
      <Value description="Preschool">a</Value>
30
      <Value description="Primary">b</Value>
31
      <Value description="Pre-adolescent">c</Value>
32
      <Value description="Adolescent">d</Value>
33
      <Value description="Adult">e</Value>
34
      <Value description="Specialized">f</Value>
35
      <Value description="General">g</Value>
36
      <Value description="Juvenile">j</Value>
37
      <Value description="No attempt to code">|</Value>
38
    </Position>
39
    <Position pos="06" name="Form of item" description="One character alphabetic code that specifies the form of material for the item">
40
      <Value description="None of the following">#</Value>
41
      <Value description="Microfilm">a</Value>
42
      <Value description="Microfiche">b</Value>
43
      <Value description="Microopaque">c</Value>
44
      <Value description="Large print">d</Value>
45
      <Value description="Braille">f</Value>
46
      <Value description="Online">o</Value>
47
      <Value description="Direct electronic">q</Value>
48
      <Value description="Regular print reproduction">r</Value>
49
      <Value description="Electronic">s</Value>
50
      <Value description="No attempt to code">|</Value>
51
    </Position>
52
    <Position pos="07-10" name="Nature of contents" description="Up to four one-character codes that indicate whether a significant part of the item is or contains certain types of material. If fewer than four codes are assigned, the codes are left justified and unused positions contain blanks (#)">
53
      <Value description="No specified nature of contents">#</Value>
54
      <Value description="Offprints.Publication that originally was published as an article in a monograph or a serial and that is also issued separately and independently. Includes prepints and postprints">2</Value>
55
      <Value description="Calendars">5</Value>
56
      <Value description="Comics/graphic novels">6</Value>
57
      <Value description="Abstracts/summaries. Abstracts or summaries of other publications. Not used when a publication includes an abstract or summary of its own content.">a</Value>
58
      <Value description="Bibliographies">b</Value>
59
      <Value description="Catalogs">c</Value>
60
      <Value description="Dictionaries. Also used for a glossary or a gazetteer.">d</Value>
61
      <Value description="Encyclopedias">e</Value>
62
      <Value description="Handbooks">f</Value>
63
      <Value description="Legal articles">g</Value>
64
      <Value description="Indexes. Index to bibliographical material other than itself. Not used when a publication contains an index to its own content.">i</Value>
65
      <Value description="Patent document">j</Value>
66
      <Value description="Discographies">k</Value>
67
      <Value description="Legislation. Full or partial text of enactments of legislative bodies, published either in statute or in code form, or text of rules and regulations issued by executive or adminitrative agencies.">l</Value>
68
      <Value description="Theses. Thesis, dissertation, or work identified as having been created to satisfy the requirements for an academic certification or degree.">m</Value>
69
      <Value description="Surveys of literature in a subject area. Composed entirely of authored surveys that summarize what has been published about a subject.">n</Value>
70
      <Value description="Reviews. Devoted entirely to critical reviews of published or performed works (e.g., books, films, sound recordings, theater)">o</Value>
71
      <Value description="Programmed texts">p</Value>
72
      <Value description="Filmographies. Entire item, or a significant part of it, is a filmography or other  bibliografy of moving images.">q</Value>
73
      <Value description="Directories">r</Value>
74
      <Value description="Statistics">s</Value>
75
      <Value description="Technical reports">t</Value>
76
      <Value description="Standars/specifications">u</Value>
77
      <Value description="Legal cases and case notes">v</Value>
78
      <Value description="Law reports and digests">w</Value>
79
      <Value description="Yearbooks">y</Value>
80
      <Value description="Treaties. Treaty or accord negotiated between two or more parties to settle a disagreement, establish a relationship, gran rights,etc.">z</Value>
81
      <Value description="No attempt to code">|</Value>
82
    </Position>
83
    <Position pos="11" name="Government publication" description="One-character code that indicates whether or not the item is published or produced by or for an international, national, state, provincial, or local government agency, or by any subdivision of such a body">
84
      <Value description="Not a government publication">#</Value>
85
      <Value description="Autonomous or semi-autonomous component">a</Value>
86
      <Value description="Multilocal">c</Value>
87
      <Value description="Federal / National">f</Value>
88
      <Value description="International intergovernmental">i</Value>
89
      <Value description="Local">l</Value>
90
      <Value description="Multistate">m</Value>
91
      <Value description="Government publication-level undetermined">o</Value>
92
      <Value description="State, provincial, territorial, dependent, etc.">s</Value>
93
      <Value description="Unknown if item is government publication">u</Value>
94
      <Value description="Other">z</Value>
95
      <Value description="No attempt to code">|</Value>
96
    </Position>
97
    <Position pos="12" name="Conference publication" description="One-character code that indicates whether the item consists of the proceedings, reports, or summaries of a conference.">
98
      <Value description="Not a conference publication">0</Value>
99
      <Value description="Conference">1</Value>
100
      <Value description="No attempt to code">|</Value>
101
    </Position>
102
    <Position pos="13" name="Festschrift" description="One-character code that indicates whether the item is a festschrift">
103
      <Value description="Not a festschrift">0</Value>
104
      <Value description="Festschrift">1</Value>
105
      <Value description="No attempt to code">|</Value>
106
    </Position>
107
    <Position pos="14" name="Index" description="One-character numeric code that indicates whether the item includes an index to its own contents">
108
      <Value description="No index">0</Value>
109
      <Value description="Index present">1</Value>
110
      <Value description="No attempt to code">|</Value>
111
    </Position>
112
    <Position pos="15" name="Undefined" description="Contains a blank (#) or a fill character (|)."/>
113
    <Position pos="16" name="Literary form" description="One-character code used to indicate the literary form of an item. Numeric codes 0 and 1 provide a generic identification of whether or not the item is a work of fiction. Alphabetic codes may be used to identify specific literary forms.">
114
      <Value description="Not fiction (not further specified)">0</Value>
115
      <Value description="Fiction (not further specified)">1</Value>
116
      <Value description="Dramas">d</Value>
117
      <Value description="Essays">e</Value>
118
      <Value description="Novels">f</Value>
119
      <Value description="Humor, satires, etc.">h</Value>
120
      <Value description="Letters. Single letter or collection of correspondence">i</Value>
121
      <Value description="Short stories. Short story or collection of short stories.">j</Value>
122
      <Value description="Mixed forms. Represents a variety of literary forms (e.g., poetry and short stories)">m</Value>
123
      <Value description="Poetry">p</Value>
124
      <Value description="Speeches">s</Value>
125
      <Value description="Unknown">u</Value>
126
      <Value description="No attempt to code">|</Value>
127
    </Position>
128
    <Position pos="17" name="Biography" description="One-character alphabetic code that indicates whether or not an item contains biographical material, and if so, what the biographical characteristics are.">
129
      <Value description="No biographical material">#</Value>
130
      <Value description="Autobiography">a</Value>
131
      <Value description="Individual biography">b</Value>
132
      <Value description="Collective biography">c</Value>
133
      <Value description="Contains biographical information">d</Value>
134
      <Value description="No attempt to code">|</Value>
135
    </Position>
136
  </Material>
137
  <Material id="CF" name="Computer Files" description="">
138
    <Position pos="00" name="Form of material" description="">
139
      <Value description="Computer file/ Electronic resource">m</Value>
140
    </Position>
141
    <Position pos="01-04" name="Undefined" description="Cada uno contiene un espacio en blanco (#) o un carácter de relleno (|)"/>
142
    <Position pos="05" name="Target audience" description="One- character alphabetic code that describes the intellectual level of the target audience for which the material is intended">
143
      <Value description="Unknown or not specified">#</Value>
144
      <Value description="Preschool">a</Value>
145
      <Value description="Primary">b</Value>
146
      <Value description="Pre-adolescent">c</Value>
147
      <Value description="Adolescent">d</Value>
148
      <Value description="Adult">e</Value>
149
      <Value description="Specialized">f</Value>
150
      <Value description="General">g</Value>
151
      <Value description="Juvenile">j</Value>
152
      <Value description="No attempt to code">|</Value>
153
    </Position>
154
    <Position pos="06" name="Form of item" description="One-character alphabetic code that specifies the form of material for the item">
155
      <Value description="Unknown or not specified">#</Value>
156
      <Value description="Online">o</Value>
157
      <Value description="Direct electronic">q</Value>
158
      <Value description="No attempt to code">|</Value>
159
    </Position>
160
    <Position pos="07-08" name="Undefined" description="Two undefined character positions; each contains a blank (#) or a fill character (|)."/>
161
    <Position pos="09" name="Type of computer file " description="One-character alphabetic code that indicates the type of computer file described in the bibliographic record">
162
      <Value description="Numeric data">a</Value>
163
      <Value description="Computer program">b</Value>
164
      <Value description="Representational. Pictorial or graphic information that can be manipulated in conjunction with other types of files to produce graphic patterns that can be used to interpret and give meaning to the information. Does not include a document in image format.">c</Value>
165
      <Value description="Document">d</Value>
166
      <Value description="Bibliographic data">e</Value>
167
      <Value description="Font">f</Value>
168
      <Value description="Game">g</Value>
169
      <Value description="Sound">h</Value>
170
      <Value description="Interactive multimedia">i</Value>
171
      <Value description="Online system or service">j</Value>
172
      <Value description="Combination">m</Value>
173
      <Value description="Unknown">u</Value>
174
      <Value description="Other">z</Value>
175
      <Value description="No attempt to code">|</Value>
176
    </Position>
177
    <Position pos="10" name="No definido" description="Contiene un espacio en blanco (#) o un carácter de relleno(|)"/>
178
    <Position pos="11" name="Government publication" description="One-character code that indicates whether or not the item is published or produced by or for an international, national, state, provincial, or local government agency, or by any subdivision of such a body">
179
      <Value description="Not a government publication">#</Value>
180
      <Value description="Autonomous or semi-autonomous component">a</Value>
181
      <Value description="Multilocal">c</Value>
182
      <Value description="Federal / National">f</Value>
183
      <Value description="International intergovernmental">i</Value>
184
      <Value description="Local">l</Value>
185
      <Value description="Multistate">m</Value>
186
      <Value description="Government publication-level undetermined">o</Value>
187
      <Value description="State, provincial, territorial, dependent, etc.">s</Value>
188
      <Value description="Unknown if item is government publication">u</Value>
189
      <Value description="Other">z</Value>
190
      <Value description="No attempt to code">|</Value>
191
    </Position>
192
    <Position pos="12-18" name="Undefined" description="Six undefined character positions; each contains a blank (#) or a fill character (|)."/>
193
  </Material>
194
  <Material id="MP" name="Maps" description="">
195
    <Position pos="00" name="Form of material" description="">
196
      <Value description="Cartographic material">e</Value>
197
      <Value description="Manuscript cartographic material">f</Value>
198
    </Position>
199
    <Position pos="01-04" name="Relief" description="Up to four one-character alphabetic codes that indicate the relief type specified on the item. Codes are recorded in order of their importance to the described item. If fewer than four codes are assigned, the codes are left justified and each unused position contains a blank (#).">
200
      <Value description="No relief shown"># </Value>
201
      <Value description="Contours">a</Value>
202
      <Value description="Shading">b</Value>
203
      <Value description="Gradient and bathymetric tints">c</Value>
204
      <Value description="Hachures">d</Value>
205
      <Value description="Bathymetry/soundings">e</Value>
206
      <Value description="Form lines">f</Value>
207
      <Value description="Spot heights">g</Value>
208
      <Value description="Pictorially">i</Value>
209
      <Value description="Land forms">j</Value>
210
      <Value description="Bathymetry/ isolines">k</Value>
211
      <Value description="Rock drawings">m</Value>
212
      <Value description="Other">z</Value>
213
      <Value description="No attempt to code">||||</Value>
214
    </Position>
215
    <Position pos="05-06" name="Projection" description="Two-character alphabetic code that indicates the projection used in producing the item.">
216
      <Value description="Projection not specified">##</Value>
217
      <Value description="Aitoff ">aa</Value>
218
      <Value description="Gnomic">ab</Value>
219
      <Value description="Lambert's azimuthal equal area">ac</Value>
220
      <Value description="Orthographic">ad</Value>
221
      <Value description="Azimuthal equidistant">ae</Value>
222
      <Value description="Stereographic">af</Value>
223
      <Value description="General vertical near-sided">ag</Value>
224
      <Value description="Modified stereographic for Alaska">am</Value>
225
      <Value description="Chamberlin trimetric">an</Value>
226
      <Value description="Polar stereographic">ap</Value>
227
      <Value description="Azimuthal, specific type unknown">au</Value>
228
      <Value description="Azimutal, other">az</Value>
229
      <Value description="Gall ">ba</Value>
230
      <Value description="Goode's homolographic">bb</Value>
231
      <Value description="Lambert's cylindrical equal area">bc</Value>
232
      <Value description="Mercator">bd</Value>
233
      <Value description="Miller ">be</Value>
234
      <Value description="Mollweide ">bf</Value>
235
      <Value description="Sinusoidal ">bg</Value>
236
      <Value description="Transverse Mercator">bh</Value>
237
      <Value description="Gauss-Kruger ">bi</Value>
238
      <Value description="Equirectangular ">bj</Value>
239
      <Value description="Krovak">bk</Value>
240
      <Value description="Cassini-Soldner">bl</Value>
241
      <Value description="Oblique Mercator">bo</Value>
242
      <Value description="Robinson ">br</Value>
243
      <Value description="Space oblique Mercator">bs</Value>
244
      <Value description="Cylindrical, specific type unknown">bu</Value>
245
      <Value description="Cylindrical, other">bz</Value>
246
      <Value description="Albers equal area">ca</Value>
247
      <Value description="Bonne ">cb</Value>
248
      <Value description="Lambert's conformal conic">cc</Value>
249
      <Value description="Equidistant conic">ce</Value>
250
      <Value description="Polyconic">cp</Value>
251
      <Value description="Conic, specific type unknown">cu</Value>
252
      <Value description="Conic, other">cz</Value>
253
      <Value description="Armadillo ">da</Value>
254
      <Value description="Butterfly ">db</Value>
255
      <Value description="Eckert ">dc</Value>
256
      <Value description="Goode's homolosine">dd</Value>
257
      <Value description="Miller's bipolar oblique conformal conic">de</Value>
258
      <Value description="Van Der Grinten ">df</Value>
259
      <Value description="Dimaxión ">dg</Value>
260
      <Value description="Cordiform">dh</Value>
261
      <Value description="Lambert conformal ">dl</Value>
262
      <Value description="Other">zz</Value>
263
      <Value description="No attempt to code">|</Value>
264
    </Position>
265
    <Position pos="07" name="Undefined" description="Undefined; contains a blank (#) or a fill character (|)."/>
266
    <Position pos="08" name="Type of cartographic material" description="One-character alphabetic code that indicates the type of cartographic item described.">
267
      <Value description="Single map">a</Value>
268
      <Value description="Map Series. Number of related but physically separate and bibliographically distinct cartographic units intended by the producer(s) or issuing body(s) to form a single group.">b</Value>
269
      <Value description="Map serial. Issued in successive parts bearing numerical or chronological designations and intended to be continued indefinitely">c</Value>
270
      <Value description="Globe">d</Value>
271
      <Value description="Atlas ">e</Value>
272
      <Value description="Separate supplement to another work">f</Value>
273
      <Value description="Bound as part of another work">g</Value>
274
      <Value description="Unknown">u</Value>
275
      <Value description="Other">z</Value>
276
      <Value description="No attempt to code">|</Value>
277
    </Position>
278
    <Position pos="09-10" name="Undefined" description="Each contains a blank (#) or a fill character (|)"/>
279
    <Position pos="11" name="Government publication" description="One-character code that indicates whether or not the item is published or produced by or for an international, national, state, provincial, or local government agency, or by any subdivision of such a body">
280
      <Value description="Not a government publication">#</Value>
281
      <Value description="Autonomous or semi-autonomous component">a</Value>
282
      <Value description="Multilocal">c</Value>
283
      <Value description="Federal / National">f</Value>
284
      <Value description="International intergovernmental">i</Value>
285
      <Value description="Local">l</Value>
286
      <Value description="Multistate">m</Value>
287
      <Value description="Government publication-level undetermined">o</Value>
288
      <Value description="State, provincial, territorial, dependent, etc.">s</Value>
289
      <Value description="Unknown if item is government publication">u</Value>
290
      <Value description="Other">z</Value>
291
      <Value description="No attempt to code">|</Value>
292
    </Position>
293
    <Position pos="12" name="Form of item" description="One-character alphabetic code that indicates the form of material for the item.">
294
      <Value description="None of the following">#</Value>
295
      <Value description="Microfilm">a</Value>
296
      <Value description="Microfiche">b</Value>
297
      <Value description="Microopaque">c</Value>
298
      <Value description="Large print">d</Value>
299
      <Value description="Braille ">f</Value>
300
      <Value description="Online.  The resource is accessed by means of hardware and software connections to a communications network. If a distinction between types of electronic resources is not necessary, code s can be used as a generic code for any form of electronic resource.">o</Value>
301
      <Value description="Direct electronic. Storage on a directly accessible tangible recording medium, e.g. disc, tape, playaway device, flashdrive, portable hard drive, etc. If a distinction between types of electronic resources is not necessary, code s can be used as a generic code for any form of electronic resource.">q</Value>
302
      <Value description="Regular print reproduction">r</Value>
303
      <Value description="Electronic. Intended for manipulation by a computer. May reside in a carrier accessed either directly or remotely, in some cases requiring the use of peripheral devices attached to the computer (e.g., a CD-ROM player). Not used for items that do not require the use of a computer (e.g., music compact discs, videodiscs). This code can be used as a generic code for any form of electronic resource. Codes o and q may be used if there is a need to separately identify online and direct electronic resources.">s</Value>
304
      <Value description="No attempt to code">|</Value>
305
    </Position>
306
    <Position pos="13" name="Undefined" description="Contains a blank (#) or a fill character (|)."/>
307
    <Position pos="14" name="Index" description="One-character numeric code that indicates whether the item or accompanying material includes a location index or gazetteer.">
308
      <Value description="No index">0</Value>
309
      <Value description="Index present">1</Value>
310
      <Value description="No attempt to code">|</Value>
311
    </Position>
312
    <Position pos="15" name="Undefined" description="Contains a blank (#) or a fill character (|)."/>
313
    <Position pos="16-17" name="Special format characteristics" description="Up to two one-character alphabetic codes that indicate the special format characteristics of the map. Codes are recorded in order of their importance to the described item. If only one code is assigned, it is left justified and the unused position contains a blank (#).">
314
      <Value description="No specified special format characteristics">#</Value>
315
      <Value description="Manuscript">e</Value>
316
      <Value description="Picture card, post card">j</Value>
317
      <Value description="Calendar">k</Value>
318
      <Value description="Puzzle">l</Value>
319
      <Value description="Game">n</Value>
320
      <Value description="Wall map">o</Value>
321
      <Value description="Playing cards">p</Value>
322
      <Value description="Loose-leaf">r</Value>
323
      <Value description="Other">z</Value>
324
      <Value description="No attempt to code">|</Value>
325
    </Position>
326
  </Material>
327
  <Material id="MU" name="Music" description="">
328
    <Position pos="00" name="Form of material" description="">
329
      <Value description="Notated music">c</Value>
330
      <Value description="Manuscript notated music">d</Value>
331
      <Value description="Nonmusical sound recording">i</Value>
332
      <Value description="Musical sound recording">j</Value>
333
    </Position>
334
    <Position pos="01-02" name="Form of composition" description="">
335
      <Value description="Anthems">an</Value>
336
      <Value description="Ballads">bd</Value>
337
      <Value description="Bluegrass music">bg</Value>
338
      <Value description="Blues ">bl</Value>
339
      <Value description="Ballets ">bt</Value>
340
      <Value description="Chaconnes">ca</Value>
341
      <Value description="Chants, Other religions">cb</Value>
342
      <Value description="Chants, Christian">cc</Value>
343
      <Value description="Concerti grossi ">cg</Value>
344
      <Value description="Chorales">ch</Value>
345
      <Value description="Chorale preludes">cl</Value>
346
      <Value description="Canons and rounds">cn</Value>
347
      <Value description="Concertos">co</Value>
348
      <Value description="Chansons, polyphonic">cp</Value>
349
      <Value description="Carols">cr</Value>
350
      <Value description="Chance compositions">cs</Value>
351
      <Value description="Cantatas">ct</Value>
352
      <Value description="Country music">cy</Value>
353
      <Value description="Canzonas">cz</Value>
354
      <Value description="Dance forms">df</Value>
355
      <Value description="Divertimentos, serenades, cassations, divertissements, and notturni">dv</Value>
356
      <Value description="Fugues">fg</Value>
357
      <Value description="Flamenco">fl</Value>
358
      <Value description="Folk music">fm</Value>
359
      <Value description="Fantasias ">ft</Value>
360
      <Value description="Gospel music">gm</Value>
361
      <Value description="Hymns">hy</Value>
362
      <Value description="Jazz">jz</Value>
363
      <Value description="Musical revues and comedies">mc</Value>
364
      <Value description="Madrigals">md</Value>
365
      <Value description="Minuets ">mi</Value>
366
      <Value description="Motets">mo</Value>
367
      <Value description="Motion picture music">mp</Value>
368
      <Value description="Marches">mr</Value>
369
      <Value description="Masses">ms</Value>
370
      <Value description="Multiple forms">mu</Value>
371
      <Value description="Mazurkas">mz</Value>
372
      <Value description="Nocturnes">nc</Value>
373
      <Value description="Not applicable">nn</Value>
374
      <Value description="Operas">op</Value>
375
      <Value description="Oratorios ">or</Value>
376
      <Value description="Overtures">ov</Value>
377
      <Value description="Program music">pg</Value>
378
      <Value description="Passion music">pm</Value>
379
      <Value description="Polonaises">po</Value>
380
      <Value description="Popular music">pp</Value>
381
      <Value description="Preludes">pr</Value>
382
      <Value description="Passacaglias">ps</Value>
383
      <Value description="Part-songs">pt</Value>
384
      <Value description="Pavans">pv</Value>
385
      <Value description=" Rock music">rc</Value>
386
      <Value description="Rondos">rd</Value>
387
      <Value description="Ragtime music">rg</Value>
388
      <Value description="Ricercars ">ri</Value>
389
      <Value description="Rhapsodies">rp</Value>
390
      <Value description="Requiems ">rq</Value>
391
      <Value description="Square dance music">sd</Value>
392
      <Value description="Songs">sg</Value>
393
      <Value description="Sonatas ">sn</Value>
394
      <Value description="Symphonic poems">sp</Value>
395
      <Value description="Studies and exercises">st</Value>
396
      <Value description="Suites ">su</Value>
397
      <Value description="Symphonies">sy</Value>
398
      <Value description="Toccatas">tc</Value>
399
      <Value description="Teatro lirico">tl</Value>
400
      <Value description="Trio-sonatas">ts</Value>
401
      <Value description="Unknown">uu</Value>
402
      <Value description="Villacincos">vi</Value>
403
      <Value description="Variations">vr</Value>
404
      <Value description="Waltzers">wz</Value>
405
      <Value description="Zarzuelas">za</Value>
406
      <Value description="Other">zz</Value>
407
      <Value description="No attempt to code">||</Value>
408
    </Position>
409
    <Position pos="03" name="Format of music" description="One-character code that indicates the format of a musical composition (e.g., piano-conductor score).">
410
      <Value description="Full score">a</Value>
411
      <Value description="Full score, miniature or study size">b</Value>
412
      <Value description="Accompaniment reduced for keyboard">c</Value>
413
      <Value description="Voice score">d</Value>
414
      <Value description="Condensed score or piano-conductor score">e</Value>
415
      <Value description="Close score">g</Value>
416
      <Value description="Chorus score">h</Value>
417
      <Value description="Condensed score">i</Value>
418
      <Value description="Performer-conductor part">j</Value>
419
      <Value description="Multiple score formats">m</Value>
420
      <Value description="Not applicable">n</Value>
421
      <Value description="Unknown">u</Value>
422
      <Value description="Other">z</Value>
423
      <Value description="No attempt to code">|</Value>
424
    </Position>
425
    <Position pos="04" name="Music Parts" description="">
426
      <Value description="No parts in hand or not specified">#</Value>
427
      <Value description="Instrumental and vocal parts">d</Value>
428
      <Value description="Instrumental parts">e</Value>
429
      <Value description="Vocal parts">f</Value>
430
      <Value description="Not applicable">n</Value>
431
      <Value description="Unknown">u</Value>
432
      <Value description="No attempt to code">|</Value>
433
    </Position>
434
    <Position pos="05" name="Target audience" description="One- character alphabetic code that describes the intellectual level of the target audience for which the material is intended">
435
      <Value description="Unknown or not specified">#</Value>
436
      <Value description="Preschool">a</Value>
437
      <Value description="Primary">b</Value>
438
      <Value description="Pre-adolescent">c</Value>
439
      <Value description="Adolescent">d</Value>
440
      <Value description="Adult">e</Value>
441
      <Value description="Specialized">f</Value>
442
      <Value description="General">g</Value>
443
      <Value description="Juvenile">j</Value>
444
      <Value description="No attempt to code">|</Value>
445
    </Position>
446
    <Position pos="06" name="Form of item" description="One-character alphabetic code that indicates the form of material for the item.">
447
      <Value description="None of the following">#</Value>
448
      <Value description="Microfilm">a</Value>
449
      <Value description="Microfiche">b</Value>
450
      <Value description="Microopaque">c</Value>
451
      <Value description="Large print">d</Value>
452
      <Value description="Braille ">f</Value>
453
      <Value description="Online.  The resource is accessed by means of hardware and software connections to a communications network. If a distinction between types of electronic resources is not necessary, code s can be used as a generic code for any form of electronic resource.">o</Value>
454
      <Value description="Direct electronic. Storage on a directly accessible tangible recording medium, e.g. disc, tape, playaway device, flashdrive, portable hard drive, etc. If a distinction between types of electronic resources is not necessary, code s can be used as a generic code for any form of electronic resource.">q</Value>
455
      <Value description="Regular print reproduction">r</Value>
456
      <Value description="Electronic. Intended for manipulation by a computer. May reside in a carrier accessed either directly or remotely, in some cases requiring the use of peripheral devices attached to the computer (e.g., a CD-ROM player). Not used for items that do not require the use of a computer (e.g., music compact discs, videodiscs). This code can be used as a generic code for any form of electronic resource. Codes o and q may be used if there is a need to separately identify online and direct electronic resources.">s</Value>
457
      <Value description="No attempt to code">|</Value>
458
    </Position>
459
    <Position pos="07-12" name="Accompanying matter" description="Up to six one-character alphabetic codes (recorded in alphabetical order) that indicate the contents of program notes and other accompanying material for sound recording, music manuscripts, or notated music. If fewer than six codes are assigned, the codes are left justified and each unused position contains a blank (#).">
460
      <Value description="No accompanying matter">#</Value>
461
      <Value description="Discography">a</Value>
462
      <Value description="Bibliography">b</Value>
463
      <Value description="Thematic indez">c</Value>
464
      <Value description="Libretto or text">d</Value>
465
      <Value description="Bibliography of composer or autor">e</Value>
466
      <Value description="Biography of performer or history of ensemble">f</Value>
467
      <Value description="Technical and/or historical information on instruments">g</Value>
468
      <Value description="Technical information on music">h</Value>
469
      <Value description="Historical information">i</Value>
470
      <Value description="Ethnological information">k</Value>
471
      <Value description="Instrutional materials">r</Value>
472
      <Value description="Music">s</Value>
473
      <Value description="Other">z</Value>
474
      <Value description="No attempt to code">|</Value>
475
    </Position>
476
    <Position pos="13-14" name="Literary text for sound recordings " description="Up to two one-character codes (recorded in the order of the following list) that indicate the type of literary text contained in a nonmusical sound recording. If only one code is assigned, it is left justified and the unused position contains a blank (#).">
477
      <Value description="Item is a music sound recording">#</Value>
478
      <Value description="Autobiography">a</Value>
479
      <Value description="Biography">b</Value>
480
      <Value description="Conference proceedings">c</Value>
481
      <Value description="Drama ">d</Value>
482
      <Value description="Essays">e</Value>
483
      <Value description="Fiction">f</Value>
484
      <Value description="Reporting">g</Value>
485
      <Value description="History">h</Value>
486
      <Value description="Instruction">i</Value>
487
      <Value description="Language instruction">j</Value>
488
      <Value description="Comedy">k</Value>
489
      <Value description="Lectures, speeches">l</Value>
490
      <Value description="Memoirs">m</Value>
491
      <Value description="Not applicable">n</Value>
492
      <Value description="Folktales">o</Value>
493
      <Value description="Poetry">p</Value>
494
      <Value description="Rehearsals">r</Value>
495
      <Value description="Sounds">s</Value>
496
      <Value description="Interviews">t</Value>
497
      <Value description="Other">z</Value>
498
      <Value description="No attempt to code">|</Value>
499
    </Position>
500
    <Position pos="15" name="Undefined" description="Undefined; contains a blank (#) or a fill character (|)."/>
501
    <Position pos="16" name="Transposition and arrangement" description="Whether all or part of the item being cataloged is a transposition and/or arrangement of another work.">
502
      <Value description="Not arrangement or transposition or not specified">#</Value>
503
      <Value description="Transposition">a</Value>
504
      <Value description="Arragement">b</Value>
505
      <Value description="Both transposed and arranged">c</Value>
506
      <Value description="Not applicable">n</Value>
507
      <Value description="Unknown">u</Value>
508
      <Value description="No attempt to code">|</Value>
509
    </Position>
510
    <Position pos="17" name="Undefined" description="Undefined; contains a blank (#) or a fill character (|)."/>
511
  </Material>
512
  <Material id="CR" name="Continuing Resources" description="">
513
    <Position pos="00" name="Form of material" description="">
514
      <Value description="Serial / Integrating resource">s</Value>
515
    </Position>
516
    <Position pos="01" name="Frequency" description="One-character alphabetic code that indicates the frequency of an item; used in conjunction with 008/19 (Regularity).">
517
      <Value description="No determinable frequency">#</Value>
518
      <Value description="Annual">a</Value>
519
      <Value description="Bimonthly">b</Value>
520
      <Value description="Semiweekly">c</Value>
521
      <Value description="Daily">d</Value>
522
      <Value description="Biweekly">e</Value>
523
      <Value description="Semiannual">f</Value>
524
      <Value description="Biennial">g</Value>
525
      <Value description="Triennial">h</Value>
526
      <Value description="Three times a week">i</Value>
527
      <Value description="Three times a month">j</Value>
528
      <Value description="Continuously updated">k</Value>
529
      <Value description="Monthly">m</Value>
530
      <Value description="Quarterly">q</Value>
531
      <Value description="Semimonthly">s</Value>
532
      <Value description="Three times a year">t</Value>
533
      <Value description="Unknown">u</Value>
534
      <Value description="Weekly">w</Value>
535
      <Value description="Other">z</Value>
536
      <Value description="No attempt to code">|</Value>
537
    </Position>
538
    <Position pos="02" name="Regularity" description="One-character alphabetic code that indicates the intended regularity of an item; used in conjunction with 008/18 (Frequency).">
539
      <Value description="Normalized irregular">n</Value>
540
      <Value description="Regular ">r</Value>
541
      <Value description="Unknown">u</Value>
542
      <Value description="Completely irregular">x</Value>
543
      <Value description="No attempt to code">|</Value>
544
    </Position>
545
    <Position pos="03" name="Undefined" description="Undefined; contains a blank (#) or a fill character (|)."/>
546
    <Position pos="04" name="Type of continuing resource" description="One-character alphabetic code that indicates the type of continuing resource.">
547
      <Value description="None of the following">#</Value>
548
      <Value description="Updating database">d</Value>
549
      <Value description="Updating loose-leaf">l</Value>
550
      <Value description="Monographic series">m</Value>
551
      <Value description="Newspaper">n</Value>
552
      <Value description="Periodical">p</Value>
553
      <Value description="Updating web site">w</Value>
554
      <Value description="No attempt to code">|</Value>
555
    </Position>
556
    <Position pos="05" name="Form of original item" description="One-character alphabetic code that indicates the form of material in which an item was originally published.">
557
      <Value description="None of the following">#</Value>
558
      <Value description="Microfilm">a</Value>
559
      <Value description="Microfiche">b</Value>
560
      <Value description="Microopaque">c</Value>
561
      <Value description="Large print">d</Value>
562
      <Value description="Newspaper format">e</Value>
563
      <Value description="Braille ">f</Value>
564
      <Value description="Online.  The resource is accessed by means of hardware and software connections to a communications network. If a distinction between types of electronic resources is not necessary, code s can be used as a generic code for any form of electronic resource.">o</Value>
565
      <Value description="Direct electronic">q</Value>
566
      <Value description="Electronic. Intended for manipulation by a computer. May reside in a carrier accessed either directly or remotely, in some cases requiring the use of peripheral devices attached to the computer (e.g., a CD-ROM player). Not used for items that do not requi">s</Value>
567
      <Value description="No attempt to code">|</Value>
568
    </Position>
569
    <Position pos="06" name="Form of item" description="One-character alphabetic code that specifies the form of material for the item being described">
570
      <Value description="None of the following">#</Value>
571
      <Value description="Microfilm">a</Value>
572
      <Value description="Microfiche">b</Value>
573
      <Value description="Microopaque">c</Value>
574
      <Value description="Large print">d</Value>
575
      <Value description="Braille ">f</Value>
576
      <Value description="Online.  The resource is accessed by means of hardware and software connections to a communications network. If a distinction between types of electronic resources is not necessary, code s can be used as a generic code for any form of electronic resource.">o</Value>
577
      <Value description="Direct electronic">q</Value>
578
      <Value description="Regular print reproduction">r</Value>
579
      <Value description="Electronic. Intended for manipulation by a computer. May reside in a carrier accessed either directly or remotely, in some cases requiring the use of peripheral devices attached to the computer (e.g., a CD-ROM player). Not used for items that do not requi">s</Value>
580
      <Value description="No attempt to code">|</Value>
581
    </Position>
582
    <Position pos="07" name="Nature of entire work" description="">
583
      <Value description="Not specified">#</Value>
584
      <Value description="Calendars">5</Value>
585
      <Value description="Comics/graphic novels">6</Value>
586
      <Value description="Abstracts/ summaries">a</Value>
587
      <Value description="Bibliographies">b</Value>
588
      <Value description="Catalogs">c</Value>
589
      <Value description="Dictionaries. Also used for a glossary or a gazetteer.">d</Value>
590
      <Value description="Encyclopedias">e</Value>
591
      <Value description="Handbooks">f</Value>
592
      <Value description="Legal articles">g</Value>
593
      <Value description="Biography">h</Value>
594
      <Value description="Indexes. Index to bibliographical material other than itself. Not used when a publication contains an index to its own content.">i</Value>
595
      <Value description="Discographies">k</Value>
596
      <Value description="Legislation. Full or partial text of enactments of legislative bodies, published either in statute or in code form, or text of rules and regulations issued by executive or adminitrative agencies.">l</Value>
597
      <Value description="Theses">m</Value>
598
      <Value description="Survey of literature in a subject area">n</Value>
599
      <Value description="Reviews">o</Value>
600
      <Value description="Programmed texts">p</Value>
601
      <Value description="Filmographies">q</Value>
602
      <Value description="Directories">r</Value>
603
      <Value description="Statistics">s</Value>
604
      <Value description="Technical reports">t</Value>
605
      <Value description="Standards/ specifications">u</Value>
606
      <Value description="Legal cases and case notes">v</Value>
607
      <Value description="Law reorts and digests">w</Value>
608
      <Value description="Yearbooks">y</Value>
609
      <Value description="Teatries">z</Value>
610
      <Value description="No attempt to code">|</Value>
611
    </Position>
612
    <Position pos="08-10" name="Nature of contents" description="">
613
      <Value description="Not specified">#</Value>
614
      <Value description="Calendars">5</Value>
615
      <Value description="Comics/graphic novels">6</Value>
616
      <Value description="Abstracts/ summaries">a</Value>
617
      <Value description="Bibliographies">b</Value>
618
      <Value description="Catalogs">c</Value>
619
      <Value description="Dictionaries. Also used for a glossary or a gazetteer.">d</Value>
620
      <Value description="Encyclopedias">e</Value>
621
      <Value description="Handbooks">f</Value>
622
      <Value description="Legal articles">g</Value>
623
      <Value description="Biography">h</Value>
624
      <Value description="Indexes. Index to bibliographical material other than itself. Not used when a publication contains an index to its own content.">i</Value>
625
      <Value description="Discographies">k</Value>
626
      <Value description="Legislation. Full or partial text of enactments of legislative bodies, published either in statute or in code form, or text of rules and regulations issued by executive or adminitrative agencies.">l</Value>
627
      <Value description="Theses">m</Value>
628
      <Value description="Survey of literature in a subject area">n</Value>
629
      <Value description="Reviews">o</Value>
630
      <Value description="Programmed texts">p</Value>
631
      <Value description="Filmographies">q</Value>
632
      <Value description="Directories">r</Value>
633
      <Value description="Statistics">s</Value>
634
      <Value description="Technical reports">t</Value>
635
      <Value description="Standars/specifications">u</Value>
636
      <Value description="Legal cases and case notes">v</Value>
637
      <Value description="Law reports and digests">w</Value>
638
      <Value description="Treaties">z</Value>
639
      <Value description="No attempt to code">|||</Value>
640
    </Position>
641
    <Position pos="11" name="Government publication" description="One-character code that indicates whether or not the item is published or produced by or for an international, national, state, provincial, or local government agency, or by any subdivision of such a body">
642
      <Value description="Not a government publication">#</Value>
643
      <Value description="Autonomous or semi-autonomous component">a</Value>
644
      <Value description="Multilocal">c</Value>
645
      <Value description="Federal / National">f</Value>
646
      <Value description="International intergovernmental">i</Value>
647
      <Value description="Local">l</Value>
648
      <Value description="Multistate">m</Value>
649
      <Value description="Government publication-level undetermined">o</Value>
650
      <Value description="State, provincial, territorial, dependent, etc.">s</Value>
651
      <Value description="Unknown if item is government publication">u</Value>
652
      <Value description="Other">z</Value>
653
      <Value description="No attempt to code">|</Value>
654
    </Position>
655
    <Position pos="12" name="Conference publication" description="One-character numeric code that indicates whether an item consists of the proceedings, reports, or summaries of a conference.">
656
      <Value description="Not a conference publication">0</Value>
657
      <Value description="Conference publication">1</Value>
658
      <Value description="No attempt to code">|</Value>
659
    </Position>
660
    <Position pos="13-15" name="Undefined" description="Undefined; each contains a blank (#) or a fill character (|)."/>
661
    <Position pos="16" name="Original alphabet or script of title" description="One-character alphabetic code that indicates the original alphabet or script of the language of the title on the source item upon which the key title (field 222) is based.">
662
      <Value description="No alphabet or script given / No key title">#</Value>
663
      <Value description="Basic Roman">a</Value>
664
      <Value description="Extended Roman">b</Value>
665
      <Value description="Cyrillic">c</Value>
666
      <Value description="Japanese">d</Value>
667
      <Value description="Chinese">e</Value>
668
      <Value description="Arabic">f</Value>
669
      <Value description="Greek">g</Value>
670
      <Value description="Hebrew">h</Value>
671
      <Value description="Thai ">i</Value>
672
      <Value description="Devanagari ">j</Value>
673
      <Value description="Korean">k</Value>
674
      <Value description="Tamil ">l</Value>
675
      <Value description="Unknown">u</Value>
676
      <Value description="Other">z</Value>
677
      <Value description="No attempt to code">|</Value>
678
    </Position>
679
    <Position pos="17" name="Entry convention" description="One-character numeric code that indicates whether the item was cataloged according to successive entry, latest entry, or integrated entry cataloging conventions.">
680
      <Value description="Succesive entry.New bibliographic record is created each time 1) a title changes, or 2) a corporate body used as main entry or uniform title qualifier, changes. The earlier or later title or author/title is recorded in a linking field (field 780/785) on each record.">0</Value>
681
      <Value description="Latest entry. Cataloged under its latest (most recent) title or issuing body (pre-AACR cataloging rules). All former titles and/or issuing bodies are given in notes (fields 247, 547, and 550).">1</Value>
682
      <Value description="Integrated entry. Cataloged under its latest (most recent) title and/or responsible person or corporate body. Used for integrating resources and electronic serials that do not retain their earlier titles.">2</Value>
683
      <Value description="No attempt to code">|</Value>
684
    </Position>
685
  </Material>
686
  <Material id="VM" name="Visual Materials" description="">
687
    <Position pos="00" name="Form of material" description="">
688
      <Value description="Projected medium">g</Value>
689
      <Value description="Two-dimensional nonprojectable graphic">k</Value>
690
      <Value description="Kit">o</Value>
691
      <Value description="Tree- dimensional artifact or naturally occurring object">r</Value>
692
    </Position>
693
    <Position pos="01-03" name="Running time for motion pictures and videorecordings " description="Three-digit number that indicates the total running time of the motion picture or videorecording. The number is right justified and each unused position contains a zero.">
694
      <Value description="Running time exceeds three characters">000</Value>
695
      <Value description="Running time">001-999</Value>
696
      <Value description="Not applicable">nnn</Value>
697
      <Value description="No attempt to code">|||</Value>
698
      <Value description="Unknown">                         --- </Value>
699
    </Position>
700
    <Position pos="04" name="Undefined" description="Undefined; contains a blank (#) or a fill character (|)."/>
701
    <Position pos="05" name="Target audience" description="One- character alphabetic code that describes the intellectual level of the target audience for which the material is intended">
702
      <Value description="Unknown or not specified">#</Value>
703
      <Value description="Preschool">a</Value>
704
      <Value description="Primary">b</Value>
705
      <Value description="Pre-adolescent">c</Value>
706
      <Value description="Adolescent">d</Value>
707
      <Value description="Adult">e</Value>
708
      <Value description="Specialized">f</Value>
709
      <Value description="General">g</Value>
710
      <Value description="Juvenile">j</Value>
711
      <Value description="No attempt to code">|</Value>
712
    </Position>
713
    <Position pos="06-10" name="Undefined" description="Undefined; each contains a blank (#) or a fill character (|)."/>
714
    <Position pos="11" name="Government publication" description="One-character code that indicates whether or not the item is published or produced by or for an international, national, state, provincial, or local government agency, or by any subdivision of such a body">
715
      <Value description="Not a government publication">#</Value>
716
      <Value description="Autonomous or semi-autonomous component">a</Value>
717
      <Value description="Multilocal">c</Value>
718
      <Value description="Federal / National">f</Value>
719
      <Value description="International intergovernmental">i</Value>
720
      <Value description="Local">l</Value>
721
      <Value description="Multistate">m</Value>
722
      <Value description="Government publication-level undetermined">o</Value>
723
      <Value description="State, provincial, territorial, dependent, etc.">s</Value>
724
      <Value description="Unknown if item is government publication">u</Value>
725
      <Value description="Other">z</Value>
726
      <Value description="No attempt to code">|</Value>
727
    </Position>
728
    <Position pos="12" name="Form of item" description="One-character alphabetic code that indicates the form of material for the item.">
729
      <Value description="None of the following">#</Value>
730
      <Value description="Microfilm">a</Value>
731
      <Value description="Microfiche">b</Value>
732
      <Value description="Microopaque">c</Value>
733
      <Value description="Large print">d</Value>
734
      <Value description="Braille ">f</Value>
735
      <Value description="Online.  The resource is accessed by means of hardware and software connections to a communications network. If a distinction between types of electronic resources is not necessary, code s can be used as a generic code for any form of electronic resource.">o</Value>
736
      <Value description="Direct electronic. Storage on a directly accessible tangible recording medium, e.g. disc, tape, playaway device, flashdrive, portable hard drive, etc. If a distinction between types of electronic resources is not necessary, code s can be used as a generic code for any form of electronic resource.">q</Value>
737
      <Value description="Regular print reproduction">r</Value>
738
      <Value description="Electronic. Intended for manipulation by a computer. May reside in a carrier accessed either directly or remotely, in some cases requiring the use of peripheral devices attached to the computer (e.g., a CD-ROM player). Not used for items that do not require the use of a computer (e.g., music compact discs, videodiscs). This code can be used as a generic code for any form of electronic resource. Codes o and q may be used if there is a need to separately identify online and direct electronic resources.">s</Value>
739
      <Value description="No attempt to code">|</Value>
740
    </Position>
741
    <Position pos="13-15" name="Undefined" description="Undefined; each contains a blank (#) or a fill character (|)."/>
742
    <Position pos="16" name="Type of visual material" description="One-character alphabetic code that indicates the type of visual material being described.">
743
      <Value description="Art original ">a</Value>
744
      <Value description="Kit.Mixture of components from two or more categories, that is, sound recording, maps, filmstrips, etc., no one of which is the predominant constituent of the item.">b</Value>
745
      <Value description="Art reproduction">c</Value>
746
      <Value description="Diorama ">d</Value>
747
      <Value description="Filmstrip">f</Value>
748
      <Value description="Game">g</Value>
749
      <Value description="Picture">i</Value>
750
      <Value description="Graphic">k</Value>
751
      <Value description="Technical drawing">l</Value>
752
      <Value description="Motion picture">m</Value>
753
      <Value description="Chart">n</Value>
754
      <Value description="Flash card">o</Value>
755
      <Value description="Microscope slide">p</Value>
756
      <Value description="Model">q</Value>
757
      <Value description="Realia ">r</Value>
758
      <Value description="Slide">s</Value>
759
      <Value description="Transparency">t</Value>
760
      <Value description="Videorecording">v</Value>
761
      <Value description="Toy">w</Value>
762
      <Value description="Other">z</Value>
763
      <Value description="No attempt to code">|</Value>
764
    </Position>
765
    <Position pos="17" name="Technique" description="One-character alphabetic code that indicates the technique used in creating motion in motion pictures or videorecordings.">
766
      <Value description="Animation">a</Value>
767
      <Value description="Animation and live action">c</Value>
768
      <Value description="Live action">l</Value>
769
      <Value description="Not applicable">n</Value>
770
      <Value description="Unknown">u</Value>
771
      <Value description="Other">z</Value>
772
      <Value description="No attempt to code">|</Value>
773
    </Position>
774
  </Material>
775
  <Material id="MX" name="Mixed Materials" description="">
776
    <Position pos="00" name="Form of material" description="">
777
      <Value description="Mixed material">p</Value>
778
    </Position>
779
    <Position pos="01-05" name="Undefined" description="Undefined; each contains a blank (#) or a fill character (|)."/>
780
    <Position pos="06" name="Form of item" description="One-character alphabetic code that specifies the form of material for the item being described">
781
      <Value description="None of the following">#</Value>
782
      <Value description="Microfilm">a</Value>
783
      <Value description="Microfiche">b</Value>
784
      <Value description="Microopaque">c</Value>
785
      <Value description="Large print">d</Value>
786
      <Value description="Braille ">f</Value>
787
      <Value description="Online.  The resource is accessed by means of hardware and software connections to a communications network. If a distinction between types of electronic resources is not necessary, code s can be used as a generic code for any form of electronic resource.">o</Value>
788
      <Value description="Direct electronic">q</Value>
789
      <Value description="Regular print reproduction">r</Value>
790
      <Value description="Electronic. Intended for manipulation by a computer. May reside in a carrier accessed either directly or remotely, in some cases requiring the use of peripheral devices attached to the computer (e.g., a CD-ROM player). Not used for items that do not requi">s</Value>
791
      <Value description="No attempt to code">|</Value>
792
    </Position>
793
    <Position pos="07-17" name="Undefined" description="Undefined; each contains a blank (#) or a fill character (|)."/>
794
  </Material>
795
</Tagfield>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008.tmpl (-233 / +300 lines)
Lines 1-282 Link Here
1
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
1
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2
<title>Koha &rsaquo; Cataloging &rsaquo; 008 builder</title>
2
<title>Koha &rsaquo; Cataloging &rsaquo; 008 builder</title>
3
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
3
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4
5
<!-- TMPL_IF NAME="viewMaterialTypesMode" -->
6
<script type="text/javascript" src='<!-- TMPL_VAR name="themelang" -->/js/xmlControlfield.js'></script>
7
<script type="text/javascript">
8
    var objXmlControlField;
9
    var tr_result;
10
    var h4_result;
11
12
    function loadXmlValues()
13
    {
14
        var form = document.f_pop;
15
        h4_result = document.getElementById("h4_result");
16
        tr_result = document.getElementById("tr_result");
17
        objXmlControlField = new xmlControlField('<!--TMPL_VAR Name="tagfield"-->', 'f_pop', document.getElementById('material_type'), document.getElementById('table_material_types'), 'h4_result', 'tr_result', '');
18
        objXmlControlField.loadXmlValues();
19
        renderResult(tr_result, (form.result.value != "")?form.result.value:returnValueParam("result"));
20
    }//loadXmlValues
21
22
    function changeTypeofMaterial(form)
23
    {
24
        if (confirm('Show values for \'' + form.material_type.options[form.material_type.selectedIndex].text + '\' material type?')) {
25
            objXmlControlField.setIdMaterial(form.material_type.options[form.material_type.selectedIndex].value);
26
            var result = returnResultFromValues(form);
27
            objXmlControlField.renderTemplate();
28
            h4_result.innerHTML = result;
29
            renderResult(tr_result, result);
30
            form.result.value = result;
31
        }
32
    }//changeTypeofMaterial
33
</script>
34
<!-- /TMPL_IF -->
35
4
</head>
36
</head>
5
<body style="padding:1em;">
37
<body style="padding:1em;" <!-- TMPL_IF NAME="viewMaterialTypesMode" -->onload="loadXmlValues()"<!-- /TMPL_IF -->>
6
<h3> 008 Fixed-length data elements--General information</h3>
38
<h3> 008 Fixed-length data elements--General information</h3>
7
<form name="f_pop" onsubmit="report()" action="">
39
40
<!-- TMPL_IF NAME="viewMaterialTypesMode" -->
41
<table border="1">
42
    <tr id="tr_result">
43
    </tr>
44
</table>
45
<h4 id="h4_result"><!--TMPL_VAR Name="result"--></h4>
46
<!-- /TMPL_IF -->
47
48
<form name="f_pop" id="f_pop" onsubmit="report()" action="">
8
<input type="hidden" name="plugin_name" value="marc21_field_008.pl" />
49
<input type="hidden" name="plugin_name" value="marc21_field_008.pl" />
9
<table>
50
<input type="hidden" id="<!-- TMPL_VAR NAME='index'-->" name="index" value="<!-- TMPL_VAR NAME='index'-->" />
10
	<tr>
51
<input type="hidden" name="result" value="<!--TMPL_VAR Name="result"-->" />
11
		<td>1-5 Date entered on file (auto-filled)</td>
52
<table id="table_material_types">
12
		<td><input type="text" name="f1" maxlength="6" size="7" value="<!-- TMPL_VAR name="f1" -->" /></td>
53
    <!-- TMPL_IF NAME="viewMaterialTypesMode" -->
13
	</tr>
54
    <tr id="tr_material_types">
14
	<tr>
55
        <td><label for="material_type" title="Select a type of material to specify the variable values">Type of Material</label></td>
15
		<!-- 06 Type of date / Publication status -->
56
        <td>
16
		<td><label for="f6">06- Type of date / Publication Status</label></td>
57
            <select name="material_type" id="material_type" title="Select a type of material to specify the variable values" onchange="changeTypeofMaterial(this.form)">
17
		<td>
58
                <option value="">Select a type of material</option>
18
			<!-- NO DATE; B.C. DATE -->
59
            </select>
19
60
        </td>
20
			<select name="f6" id="f6" size="1">
61
    </tr>
21
			<!-- TMPL_IF name="f60" -->
62
    <!-- TMPL_ELSE -->
63
    <tr>
64
        <td><label for="f1">1-5 Date entered on file (auto-filled)</label></td>
65
        <td><input type="text" name="f1" id="f1" maxlength="6" size="7" value="<!-- TMPL_VAR name="f1" -->" /></td>
66
    </tr>
67
    <tr>
68
        <!-- 06 Type of date / Publication status -->
69
        <td><label for="f6" <!-- TMPL_IF NAME="POS_06_DESC" -->title="<!--TMPL_VAR Name="POS_06_DESC"-->"<!-- /TMPL_IF -->>06- Type of date / Publication Status</label></td>
70
        <td>
71
            <!-- NO DATE; B.C. DATE -->
72
73
            <select name="f6" id="f6" size="1" style="width:400px">
74
            <!-- TMPL_IF name="f60" -->
22
                                <option value=" " selected="selected">#- Blank</option>
75
                                <option value=" " selected="selected">#- Blank</option>
23
                        <!-- TMPL_ELSE -->
76
                        <!-- TMPL_ELSE -->
24
                                <option value=" ">#- Blank</option>
77
                                <option value=" ">#- Blank</option>
25
                        <!-- /TMPL_IF -->
78
                        <!-- /TMPL_IF -->
26
79
27
			<!-- TMPL_IF name="f6b" -->
80
            <!-- TMPL_IF name="f6b" -->
28
				<option value="b" selected="selected">b- B.C. Date</option>
81
                <option value="b" selected="selected">b- B.C. Date</option>
29
			<!-- TMPL_ELSE -->
82
            <!-- TMPL_ELSE -->
30
				<option value="b">b- B.C. Date</option>
83
                <option value="b">b- B.C. Date</option>
31
			<!-- /TMPL_IF -->
84
            <!-- /TMPL_IF -->
32
85
33
			<!-- SINGLE DATE -->
86
            <!-- SINGLE DATE -->
34
			<!-- TMPL_IF name="f6e" -->
87
            <!-- TMPL_IF name="f6e" -->
35
                                <option value="e" selected="selected">e- Detailed date</option>
88
                                <option value="e" selected="selected">e- Detailed date</option>
36
                        <!-- TMPL_ELSE -->
89
                        <!-- TMPL_ELSE -->
37
                                <option value="e">e- Detailed date</option>
90
                                <option value="e">e- Detailed date</option>
38
                        <!-- /TMPL_IF -->
91
                        <!-- /TMPL_IF -->
39
			<!-- TMPL_IF name="f6s" -->
92
            <!-- TMPL_IF name="f6s" -->
40
                                <option value="s" selected="selected">s- Single date</option>
93
                                <option value="s" selected="selected">s- Single date</option>
41
                        <!-- TMPL_ELSE -->
94
                        <!-- TMPL_ELSE -->
42
                                <option value="s">s- Single date</option>
95
                                <option value="s">s- Single date</option>
43
                        <!-- /TMPL_IF -->
96
                        <!-- /TMPL_IF -->
44
97
45
			<!-- MULTIPLE DATES -->
98
            <!-- MULTIPLE DATES -->
46
			<!-- TMPL_IF name="f6i" -->
99
            <!-- TMPL_IF name="f6i" -->
47
                                <option value="i" selected="selected">i- Inclusive dates of collection</option>
100
                                <option value="i" selected="selected">i- Inclusive dates of collection</option>
48
                        <!-- TMPL_ELSE -->
101
                        <!-- TMPL_ELSE -->
49
                                <option value="i">i- Inclusive dates of collection</option>
102
                                <option value="i">i- Inclusive dates of collection</option>
50
                        <!-- /TMPL_IF -->
103
                        <!-- /TMPL_IF -->
51
			<!-- TMPL_IF name="f6k" -->
104
            <!-- TMPL_IF name="f6k" -->
52
                                <option value="k" selected="selected">k- Range of years of bulk collection</option>
105
                                <option value="k" selected="selected">k- Range of years of bulk collection</option>
53
                        <!-- TMPL_ELSE -->
106
                        <!-- TMPL_ELSE -->
54
                                <option value="k">k- Range of years of bulk collection</option>
107
                                <option value="k">k- Range of years of bulk collection</option>
55
                        <!-- /TMPL_IF -->
108
                        <!-- /TMPL_IF -->
56
			<!-- TMPL_IF name="f6m" -->
109
            <!-- TMPL_IF name="f6m" -->
57
                                <option value="m" selected="selected">m- Multiple dates</option>
110
                                <option value="m" selected="selected">m- Multiple dates</option>
58
                        <!-- TMPL_ELSE -->
111
                        <!-- TMPL_ELSE -->
59
                                <option value="m">m- Multiple dates</option>
112
                                <option value="m">m- Multiple dates</option>
60
                        <!-- /TMPL_IF -->
113
                        <!-- /TMPL_IF -->
61
			<!-- TMPL_IF name="f6p" -->
114
            <!-- TMPL_IF name="f6p" -->
62
                                <option value="p" selected="selected">p- Distribution/production date</option>
115
                                <option value="p" selected="selected">p- Distribution/production date</option>
63
                        <!-- TMPL_ELSE -->
116
                        <!-- TMPL_ELSE -->
64
                                <option value="p">p- Distribution/production date</option>
117
                                <option value="p">p- Distribution/production date</option>
65
			<!-- /TMPL_IF -->
118
            <!-- /TMPL_IF -->
66
	
119
67
			<!-- TMPL_IF name="f6r" -->
120
            <!-- TMPL_IF name="f6r" -->
68
				<option value="r" selected="selected">r- Reprint/original date</option>
121
                <option value="r" selected="selected">r- Reprint/original date</option>
69
			<!-- TMPL_ELSE -->
122
            <!-- TMPL_ELSE -->
70
				<option value="r">r- Reprint/original date</option>
123
                <option value="r">r- Reprint/original date</option>
71
			<!-- /TMPL_IF -->
124
            <!-- /TMPL_IF -->
72
125
73
			<!-- TMPL_IF name="f6t" -->
126
            <!-- TMPL_IF name="f6t" -->
74
                                <option value="t" selected="selected">t- Publication date and copyright date</option>
127
                                <option value="t" selected="selected">t- Publication date and copyright date</option>
75
                        <!-- TMPL_ELSE -->
128
                        <!-- TMPL_ELSE -->
76
                                <option value="t">t- Publication date and copyright date</option>
129
                                <option value="t">t- Publication date and copyright date</option>
77
                        <!-- /TMPL_IF -->
130
                        <!-- /TMPL_IF -->
78
131
79
			<!-- UNKNOWN DATES -->
132
            <!-- UNKNOWN DATES -->
80
			<!-- TMPL_IF name="f6n" -->
133
            <!-- TMPL_IF name="f6n" -->
81
                                <option value="n" selected="selected">n- Dates unknown</option>
134
                                <option value="n" selected="selected">n- Dates unknown</option>
82
                        <!-- TMPL_ELSE -->
135
                        <!-- TMPL_ELSE -->
83
                                <option value="n">n- Dates unknown</option>
136
                                <option value="n">n- Dates unknown</option>
84
                        <!-- /TMPL_IF -->
137
                        <!-- /TMPL_IF -->
85
138
86
			<!-- TMPL_IF name="f6q" -->
139
            <!-- TMPL_IF name="f6q" -->
87
                                <option value="q" selected="selected">q- Questionable date</option>
140
                                <option value="q" selected="selected">q- Questionable date</option>
88
                        <!-- TMPL_ELSE -->
141
                        <!-- TMPL_ELSE -->
89
                                <option value="q">q- Questionable date</option>
142
                                <option value="q">q- Questionable date</option>
90
                        <!-- /TMPL_IF -->
143
                        <!-- /TMPL_IF -->
91
144
92
			<!-- TMPL_IF name="f6c" -->
145
            <!-- TMPL_IF name="f6c" -->
93
                                <option value="c" selected="selected">c- Serial item currently published</option>
146
                                <option value="c" selected="selected">c- Serial item currently published</option>
94
                        <!-- TMPL_ELSE -->
147
                        <!-- TMPL_ELSE -->
95
                                <option value="c">c- Serial item currently published</option>
148
                                <option value="c">c- Serial item currently published</option>
96
                        <!-- /TMPL_IF -->
149
                        <!-- /TMPL_IF -->
97
				
150
98
			<!-- TMPL_IF name="f6d" -->
151
            <!-- TMPL_IF name="f6d" -->
99
                                <option value="d" selected="selected">d- Serial item ceased publication (Dead status)</option>
152
                                <option value="d" selected="selected">d- Serial item ceased publication (Dead status)</option>
100
                        <!-- TMPL_ELSE -->
153
                        <!-- TMPL_ELSE -->
101
                                <option value="d">d- Serial item ceased publication (Dead status)</option>
154
                                <option value="d">d- Serial item ceased publication (Dead status)</option>
102
                        <!-- /TMPL_IF -->
155
                        <!-- /TMPL_IF -->
103
			<!-- TMPL_IF name="f6u" -->
156
            <!-- TMPL_IF name="f6u" -->
104
                                <option value="u" selected="selected">u- Serial item status unknown</option>
157
                                <option value="u" selected="selected">u- Serial item status unknown</option>
105
                        <!-- TMPL_ELSE -->
158
                        <!-- TMPL_ELSE -->
106
                                <option value="u">u- Serial item status unknown</option>
159
                                <option value="u">u- Serial item status unknown</option>
107
                        <!-- /TMPL_IF -->
160
                        <!-- /TMPL_IF -->
108
161
109
162
110
	
163
            </select>
111
			</select>
164
        </td>
112
		</td>
165
    </tr>
113
	</tr>
166
    <tr>
114
	<tr>
167
        <td><label for="f710">7-10 Date1 / Beginning date of publication</label> </td>
115
		<td><label for="f710">7-10 Date1 / Beginning date of publication</label> </td>
168
        <td>
116
		<td>
169
            <input type="text" name="f710" id="f710" size="4" maxlength="4" value="<!-- TMPL_VAR NAME="f710" -->"/>
117
			<input type="text" name="f710" id="f710" size="4" maxlength="4" value="<!-- TMPL_VAR NAME="f710" -->"/>
170
        </td>
118
		</td>
171
    </tr>
119
	</tr>
172
    <tr>
120
	<tr>
173
        <td><label for="f1114">11-14 Date2 / ending date of publication</label> </td>
121
                <td><label for="f1114">11-14 Date2 / ending date of publication</label> </td>
174
        <td>
122
                <td>
175
            <input type="text" name="f1114" id="f1114" size="4" maxlength="4" value="<!-- TMPL_VAR NAME="f1114" -->"/>
123
                        <input type="text" name="f1114" id="f1114" size="4" maxlength="4" value="<!-- TMPL_VAR NAME="f1114" -->"/>                </td>
176
        </td>
124
        </tr>
177
    </tr>
125
178
126
	<tr>
179
    <tr>
127
                <td><label for="f1517">15-17 Place of publication, production, or execution</label> See <a href="http://www.loc.gov/marc/countries/countries_code.html">MARC Code List for Countries</a> </td>
180
        <td><label for="f1517">15-17 Place of publication, production, or execution</label> See <a href="http://www.loc.gov/marc/countries/countries_code.html">MARC Code List for Countries</a> </td>
128
                <td>
181
        <td>
129
                        <input type="text" name="f1517" id="f1517" size="3"  maxlength="3" value="<!-- TMPL_VAR NAME="f1517" -->"/>
182
            <input type="text" name="f1517" id="f1517" size="3"  maxlength="3" value="<!-- TMPL_VAR NAME="f1517" -->"/>
130
                </td>
183
        </td>
131
        </tr>
184
    </tr>
132
	 <tr>
185
    <tr>
133
                <td><label for="f1821">18-21 Illustrations</label> </td>
186
        <td><label for="f1821">18-21 Illustrations</label> </td>
134
		<td><input type="text" name="f1821" id="f1821" size="4"  maxlength="4" value="<!-- TMPL_VAR NAME="f1821" -->"/></td>
187
        <td><input type="text" name="f1821" id="f1821" size="4"  maxlength="4" value="<!-- TMPL_VAR NAME="f1821" -->"/>
135
        </tr>
188
        </td>
136
	<tr>
189
    </tr>
190
    <tr>
137
                <!-- 22 Target Audience -->
191
                <!-- 22 Target Audience -->
138
                <td><label for="f22">22- Target Audience</label></td>
192
                <td><label for="f22">22- Target Audience</label></td>
139
                <td>                        
193
                <td>
140
                <select name="f22" id="f22" size="1">
194
                <select name="f22" id="f22" size="1" style="width:400px">
141
195
                    <!-- TMPL_IF name="f22|" -->
142
                        <!-- TMPL_IF name="f22|" -->
143
                        <option value="|" selected="selected">|- Default</option>
196
                        <option value="|" selected="selected">|- Default</option>
144
                        <!-- TMPL_ELSE -->
197
                    <!-- TMPL_ELSE -->
145
                        <option value="|">|- Default</option>
198
                        <option value="|">|- Default</option>
146
                        <!-- /TMPL_IF -->
199
                    <!-- /TMPL_IF -->
147
			<!-- TMPL_IF name="f220" -->
200
                    <!-- TMPL_IF name="f220" -->
148
                        <option value=" " selected="selected">#- Unknown or not specified</option>
201
                        <option value=" " selected="selected">#- Unknown or not specified</option>
149
                        <!-- TMPL_ELSE -->
202
                        <!-- TMPL_ELSE -->
150
                        <option value=" ">#- Unknown or not specified</option>
203
                        <option value=" ">#- Unknown or not specified</option>
151
                        <!-- /TMPL_IF -->
204
                        <!-- /TMPL_IF -->
152
205
153
                        <!-- TMPL_IF name="f22a" -->
206
                    <!-- TMPL_IF name="f22a" -->
154
                         <option value="a" selected="selected">a- Preschool</option>
207
                         <option value="a" selected="selected">a- Preschool</option>
155
	                <!-- TMPL_ELSE -->
208
                    <!-- TMPL_ELSE -->
156
			<option value="a">a- Preschool</option>
209
                        <option value="a">a- Preschool</option>
157
                        <!-- /TMPL_IF -->
210
                    <!-- /TMPL_IF -->
158
211
159
			<!-- TMPL_IF name="f22b" -->
212
                    <!-- TMPL_IF name="f22b" -->
160
                         <option value="b" selected="selected">b- Primary</option>
213
                         <option value="b" selected="selected">b- Primary</option>
161
                        <!-- TMPL_ELSE -->
214
                        <!-- TMPL_ELSE -->
162
                        <option value="b">b- Primary</option>
215
                        <option value="b">b- Primary</option>
163
                        <!-- /TMPL_IF -->	
216
                        <!-- /TMPL_IF -->
164
217
165
			<!-- TMPL_IF name="f22c" -->
218
                    <!-- TMPL_IF name="f22c" -->
166
                         <option value="c" selected="selected">c- Elementary and junior high</option>
219
                         <option value="c" selected="selected">c- Elementary and junior high</option>
167
                        <!-- TMPL_ELSE -->
220
                        <!-- TMPL_ELSE -->
168
                        <option value="c">c- Elementary and junior high</option>
221
                        <option value="c">c- Elementary and junior high</option>
169
                        <!-- /TMPL_IF -->
222
                        <!-- /TMPL_IF -->
170
223
171
			<!-- TMPL_IF name="f22d" -->
224
                    <!-- TMPL_IF name="f22d" -->
172
                         <option value="d" selected="selected">d- Secondary (senior high)</option>
225
                         <option value="d" selected="selected">d- Secondary (senior high)</option>
173
                        <!-- TMPL_ELSE -->
226
                        <!-- TMPL_ELSE -->
174
                        <option value="d">d- Secondary (senior high)</option>
227
                        <option value="d">d- Secondary (senior high)</option>
175
                        <!-- /TMPL_IF -->
228
                        <!-- /TMPL_IF -->
176
229
177
			<!-- TMPL_IF name="f22e" -->
230
                    <!-- TMPL_IF name="f22e" -->
178
                         <option value="e" selected="selected">e- Adult</option>
231
                         <option value="e" selected="selected">e- Adult</option>
179
                        <!-- TMPL_ELSE -->
232
                        <!-- TMPL_ELSE -->
180
                        <option value="e">e- Adult</option>
233
                        <option value="e">e- Adult</option>
181
                        <!-- /TMPL_IF -->
234
                        <!-- /TMPL_IF -->
182
235
183
			<!-- TMPL_IF name="f22f" -->
236
                    <!-- TMPL_IF name="f22f" -->
184
                         <option value="f" selected="selected">f- Specialized</option>
237
                        <option value="f" selected="selected">f- Specialized</option>
185
                        <!-- TMPL_ELSE -->
238
                        <!-- TMPL_ELSE -->
186
                        <option value="f">f- Specialized</option>
239
                        <option value="f">f- Specialized</option>
187
                        <!-- /TMPL_IF -->
240
                        <!-- /TMPL_IF -->
188
241
189
			<!-- TMPL_IF name="f22g" -->
242
                    <!-- TMPL_IF name="f22g" -->
190
                         <option value="g" selected="selected">g- General</option>
243
                         <option value="g" selected="selected">g- General</option>
191
                        <!-- TMPL_ELSE -->
244
                        <!-- TMPL_ELSE -->
192
                        <option value="g">g- General</option>
245
                        <option value="g">g- General</option>
193
                        <!-- /TMPL_IF -->
246
                        <!-- /TMPL_IF -->
194
247
195
			<!-- TMPL_IF name="f22j" -->
248
                    <!-- TMPL_IF name="f22j" -->
196
                         <option value="j" selected="selected">j- Juvenile</option>
249
                         <option value="j" selected="selected">j- Juvenile</option>
197
                        <!-- TMPL_ELSE -->
250
                        <!-- TMPL_ELSE -->
198
                        <option value="j">j- Juvenile</option>
251
                        <option value="j">j- Juvenile</option>
199
                        <!-- /TMPL_IF -->
252
                        <!-- /TMPL_IF -->
200
		</select>
253
            </select>
201
		</td>
254
        </td>
202
	</tr>
255
    </tr>
203
	<tr>
256
    <tr>
204
                <!-- 23 Form of an item -->
257
                <!-- 23 Form of an item -->
205
                <td><label for="f23">23- Form of an item</label></td>
258
                <td><label for="f23">23- Form of an item</label></td>
206
                <td>
259
                <td>
207
                <select name="f23" id="f23" size="1">
260
                <select name="f23" id="f23" size="1" style="width:400px">
208
209
                        <!-- TMPL_IF name="f230" -->
261
                        <!-- TMPL_IF name="f230" -->
210
                        <option value=" " selected="selected">#- None of the following</option>
262
                        <option value=" " selected="selected">#- None of the following</option>
211
                        <!-- TMPL_ELSE -->
263
                        <!-- TMPL_ELSE -->
212
                        <option value=" ">#- None of the following</option>
264
                        <option value=" ">#- None of the following</option>
213
                        <!-- /TMPL_IF -->
265
                        <!-- /TMPL_IF -->
214
266
215
			<!-- TMPL_IF name="f23a" -->
267
            <!-- TMPL_IF name="f23a" -->
216
                        <option value="a" selected="selected">a- Microfilm</option>
268
                        <option value="a" selected="selected">a- Microfilm</option>
217
                        <!-- TMPL_ELSE -->
269
                        <!-- TMPL_ELSE -->
218
                        <option value="a">a- Microfilm</option>
270
                        <option value="a">a- Microfilm</option>
219
                        <!-- /TMPL_IF -->
271
                        <!-- /TMPL_IF -->
220
			
272
221
			<!-- TMPL_IF name="f23b" -->
273
            <!-- TMPL_IF name="f23b" -->
222
                        <option value="b" selected="selected">b- Microfiche</option>
274
                        <option value="b" selected="selected">b- Microfiche</option>
223
                        <!-- TMPL_ELSE -->
275
                        <!-- TMPL_ELSE -->
224
                        <option value="b">b- Microfiche</option>
276
                        <option value="b">b- Microfiche</option>
225
                        <!-- /TMPL_IF -->
277
                        <!-- /TMPL_IF -->
226
278
227
			<!-- TMPL_IF name="f23c" -->
279
            <!-- TMPL_IF name="f23c" -->
228
                        <option value="c" selected="selected">a- Microopaque</option>
280
                        <option value="c" selected="selected">a- Microopaque</option>
229
                        <!-- TMPL_ELSE -->
281
                        <!-- TMPL_ELSE -->
230
                        <option value="c">a- Microopaque</option>
282
                        <option value="c">a- Microopaque</option>
231
                        <!-- /TMPL_IF -->
283
                        <!-- /TMPL_IF -->
232
284
233
			<!-- TMPL_IF name="f23d" -->
285
            <!-- TMPL_IF name="f23d" -->
234
                        <option value="d" selected="selected">d- Large Print</option>
286
                        <option value="d" selected="selected">d- Large Print</option>
235
                        <!-- TMPL_ELSE -->
287
                        <!-- TMPL_ELSE -->
236
                        <option value="d">d- Large Print</option>
288
                        <option value="d">d- Large Print</option>
237
                        <!-- /TMPL_IF -->
289
                        <!-- /TMPL_IF -->
238
290
239
			<!-- TMPL_IF name="f23f" -->
291
            <!-- TMPL_IF name="f23f" -->
240
                        <option value="f" selected="selected">f- Braille</option>
292
                        <option value="f" selected="selected">f- Braille</option>
241
                        <!-- TMPL_ELSE -->
293
                        <!-- TMPL_ELSE -->
242
                        <option value="f">f- Braille</option>
294
                        <option value="f">f- Braille</option>
243
                        <!-- /TMPL_IF -->
295
                        <!-- /TMPL_IF -->
244
296
245
			<!-- TMPL_IF name="f23r" -->
297
            <!-- TMPL_IF name="f23r" -->
246
                        <option value="r" selected="selected">r- Regular print reproduction</option>
298
                        <option value="r" selected="selected">r- Regular print reproduction</option>
247
                        <!-- TMPL_ELSE -->
299
                        <!-- TMPL_ELSE -->
248
                        <option value="r">r- Regular print reproduction</option>
300
                        <option value="r">r- Regular print reproduction</option>
249
                        <!-- /TMPL_IF -->
301
                        <!-- /TMPL_IF -->
250
302
251
			<!-- TMPL_IF name="f23s" -->
303
            <!-- TMPL_IF name="f23s" -->
252
                        <option value="s" selected="selected">s- Electronic</option>
304
                        <option value="s" selected="selected">s- Electronic</option>
253
                        <!-- TMPL_ELSE -->
305
                        <!-- TMPL_ELSE -->
254
                        <option value="s">s- Electronic</option>
306
                        <option value="s">s- Electronic</option>
255
                        <!-- /TMPL_IF -->
307
                        <!-- /TMPL_IF -->
256
308
257
			<!-- TMPL_IF name="f23!" -->
309
            <!-- TMPL_IF name="f23!" -->
258
                        <option value="!" selected="selected">!- No attempt to code</option>
310
                        <option value="!" selected="selected">!- No attempt to code</option>
259
                        <!-- TMPL_ELSE -->
311
                        <!-- TMPL_ELSE -->
260
                        <option value="!">!- No attempt to code</option>
312
                        <option value="!">!- No attempt to code</option>
261
                        <!-- /TMPL_IF -->
313
                        <!-- /TMPL_IF -->
262
		</select>
314
        </select>
263
		</td>
315
        </td>
264
	</tr>
316
    </tr>
265
	<tr>
317
    <tr>
266
                <td><label for="f2427">24-27 Nature of contents</label> </td>
318
                <td><label for="f2427">24-27 Nature of contents</label> </td>
267
                <td>
319
                <td>
268
                        <input type="text" name="f2427" id="f2427" size="4" maxlength="4" value="<!-- TMPL_VAR NAME="f2427" -->"/>                </td>
320
                    <input type="text" name="f2427" id="f2427" size="4" maxlength="4" value="<!-- TMPL_VAR NAME="f2427" -->"/>
321
                </td>
269
        </tr>
322
        </tr>
270
        <tr>
323
        <tr>
271
                <td><label for="f28">28- Government Publication</label></td>
324
                <td><label for="f28">28- Government Publication</label></td>
272
                <td>
325
                <td>
273
                <select name="f28" id="f28" size="1">                                    
326
                <select name="f28" id="f28" size="1" style="width:400px">
274
                        <!-- TMPL_IF name="f280" -->
327
                        <!-- TMPL_IF name="f280" -->
275
                        <option value=" " selected="selected">#- Not a government publication</option>
328
                        <option value=" " selected="selected">#- Not a government publication</option>
276
                        <!-- TMPL_ELSE -->
329
                        <!-- TMPL_ELSE -->
277
                        <option value=" ">#- Not a government publication</option>
330
                        <option value=" ">#- Not a government publication</option>
278
                        <!-- /TMPL_IF -->
331
                        <!-- /TMPL_IF -->
279
			
332
280
                        <!-- TMPL_IF name="f28a" -->
333
                        <!-- TMPL_IF name="f28a" -->
281
                        <option value="a" selected="selected">a- Autonomous or semi-autonomous component</option>
334
                        <option value="a" selected="selected">a- Autonomous or semi-autonomous component</option>
282
                        <!-- TMPL_ELSE -->
335
                        <!-- TMPL_ELSE -->
Lines 288-294 Link Here
288
                        <!-- TMPL_ELSE -->
341
                        <!-- TMPL_ELSE -->
289
                        <option value="c">c- Multilocal</option>
342
                        <option value="c">c- Multilocal</option>
290
                        <!-- /TMPL_IF -->
343
                        <!-- /TMPL_IF -->
291
			
344
292
                        <!-- TMPL_IF name="f28f" -->
345
                        <!-- TMPL_IF name="f28f" -->
293
                        <option value="f" selected="selected">f- Federal/national</option>
346
                        <option value="f" selected="selected">f- Federal/national</option>
294
                        <!-- TMPL_ELSE -->
347
                        <!-- TMPL_ELSE -->
Lines 309-375 Link Here
309
                        <option value="l">l- Local</option>
362
                        <option value="l">l- Local</option>
310
                        <!-- /TMPL_IF -->
363
                        <!-- /TMPL_IF -->
311
364
312
			
365
313
                        <!-- TMPL_IF name="f28m" -->
366
                        <!-- TMPL_IF name="f28m" -->
314
                        <option value="m" selected="selected">m- Multistate</option>
367
                        <option value="m" selected="selected">m- Multistate</option>
315
                        <!-- TMPL_ELSE -->
368
                        <!-- TMPL_ELSE -->
316
                        <option value="m">m- Multistate</option>
369
                        <option value="m">m- Multistate</option>
317
                        <!-- /TMPL_IF -->
370
                        <!-- /TMPL_IF -->
318
			
371
319
                        <!-- TMPL_IF name="f28o" -->
372
                        <!-- TMPL_IF name="f28o" -->
320
                        <option value="o" selected="selected">o- Government publication - level undetermined</option>
373
                        <option value="o" selected="selected">o- Government publication - level undetermined</option>
321
                        <!-- TMPL_ELSE -->
374
                        <!-- TMPL_ELSE -->
322
                        <option value="o">o- Government publication - level undetermined</option>
375
                        <option value="o">o- Government publication - level undetermined</option>
323
                        <!-- /TMPL_IF -->
376
                        <!-- /TMPL_IF -->
324
			
377
325
                        <!-- TMPL_IF name="f28s" -->
378
                        <!-- TMPL_IF name="f28s" -->
326
                        <option value="s" selected="selected">s- State, provincial,territorial,dependent,etc.</option>
379
                        <option value="s" selected="selected">s- State, provincial,territorial,dependent,etc.</option>
327
                        <!-- TMPL_ELSE -->
380
                        <!-- TMPL_ELSE -->
328
                        <option value="s">s- State,provincial,territorial,dependent,etc.</option>
381
                        <option value="s">s- State,provincial,territorial,dependent,etc.</option>
329
                        <!-- /TMPL_IF -->
382
                        <!-- /TMPL_IF -->
330
			
383
331
                        <!-- TMPL_IF name="f28u" -->
384
                        <!-- TMPL_IF name="f28u" -->
332
                        <option value="u" selected="selected">u- Unknown if item is government publication</option>
385
                        <option value="u" selected="selected">u- Unknown if item is government publication</option>
333
                        <!-- TMPL_ELSE -->
386
                        <!-- TMPL_ELSE -->
334
                        <option value="u">u- Unknown if item is government publication</option>
387
                        <option value="u">u- Unknown if item is government publication</option>
335
                        <!-- /TMPL_IF -->
388
                        <!-- /TMPL_IF -->
336
			
389
337
                        <!-- TMPL_IF name="f28z" -->
390
                        <!-- TMPL_IF name="f28z" -->
338
                        <option value="z" selected="selected">z- Other</option>
391
                        <option value="z" selected="selected">z- Other</option>
339
                        <!-- TMPL_ELSE -->
392
                        <!-- TMPL_ELSE -->
340
                        <option value="z">z- Other</option>
393
                        <option value="z">z- Other</option>
341
                        <!-- /TMPL_IF -->
394
                        <!-- /TMPL_IF -->
342
		</select>
395
        </select>
343
		</td>
396
        </td>
344
	</tr>
397
    </tr>
345
        <tr>
398
        <tr>
346
                <td><label for="f29">29- Conference publication</label></td>
399
                <td><label for="f29">29- Conference publication</label></td>
347
                <td>
400
                <td>
348
                <select name="f29" id="f29" size="1">
401
                <select name="f29" id="f29" size="1" style="width:400px">
349
                        <!-- TMPL_IF name="f290" -->
402
                        <!-- TMPL_IF name="f290" -->
350
                        <option value="0" selected="selected">0- Not a conference publication</option>
403
                        <option value="0" selected="selected">0- Not a conference publication</option>
351
                        <!-- TMPL_ELSE -->
404
                        <!-- TMPL_ELSE -->
352
                        <option value="0">0- Not a conference publication</option>
405
                        <option value="0">0- Not a conference publication</option>
353
                        <!-- /TMPL_IF -->
406
                        <!-- /TMPL_IF -->
354
			<!-- TMPL_IF name="f291" -->
407
                        <!-- TMPL_IF name="f291" -->
355
                        <option value="1" selected="selected">1- Conference publication</option>
408
                        <option value="1" selected="selected">1- Conference publication</option>
356
                        <!-- TMPL_ELSE -->
409
                        <!-- TMPL_ELSE -->
357
                        <option value="1">1- Conference publication</option>
410
                        <option value="1">1- Conference publication</option>
358
                        <!-- /TMPL_IF -->
411
                        <!-- /TMPL_IF -->
359
412
360
		</select>
413
        </select>
361
		</td>
414
        </td>
362
	</tr>
415
    </tr>
363
	<tr>
416
    <tr>
364
                <td><label for="f30">30- Festschrift</label></td>
417
                <td><label for="f30">30- Festschrift</label></td>
365
                <td>
418
                <td>
366
                <select name="f30" id="f30" size="1">
419
                <select name="f30" id="f30" size="1" style="width:400px">
367
                        <!-- TMPL_IF name="f300" -->
420
                        <!-- TMPL_IF name="f300" -->
368
                        <option value="0" selected="selected">0- Not a festschrift</option>
421
                        <option value="0" selected="selected">0- Not a festschrift</option>
369
                        <!-- TMPL_ELSE -->
422
                        <!-- TMPL_ELSE -->
370
                        <option value="0">0- Not a festschrift</option>
423
                        <option value="0">0- Not a festschrift</option>
371
                        <!-- /TMPL_IF -->
424
                        <!-- /TMPL_IF -->
372
			<!-- TMPL_IF name="f301" -->
425
                        <!-- TMPL_IF name="f301" -->
373
                        <option value="1" selected="selected">1- Festschrift</option>
426
                        <option value="1" selected="selected">1- Festschrift</option>
374
                        <!-- TMPL_ELSE -->
427
                        <!-- TMPL_ELSE -->
375
                        <option value="1">1- Festschrift</option>
428
                        <option value="1">1- Festschrift</option>
Lines 381-387 Link Here
381
        <tr>
434
        <tr>
382
                <td><label for="f31">31- Index</label></td>
435
                <td><label for="f31">31- Index</label></td>
383
                <td>
436
                <td>
384
                <select name="f31" id="f31" size="1">
437
                <select name="f31" id="f31" size="1" style="width:400px">
385
                        <!-- TMPL_IF name="f31|" -->
438
                        <!-- TMPL_IF name="f31|" -->
386
                        <option value="|" selected="selected">|- Default</option>
439
                        <option value="|" selected="selected">|- Default</option>
387
                        <!-- TMPL_ELSE -->
440
                        <!-- TMPL_ELSE -->
Lines 400-412 Link Here
400
                        <!-- /TMPL_IF -->
453
                        <!-- /TMPL_IF -->
401
                </select>
454
                </select>
402
                </td>
455
                </td>
403
        	</tr>
456
            </tr>
404
		<tr><td>32 Undefined</td><td></td>
457
        <tr>
405
		</tr>
458
            <td>32 Undefined</td><td></td>
406
		<tr>
459
        </tr>
460
        <tr>
407
                <td><label for="f33">33- Literary form</label></td>
461
                <td><label for="f33">33- Literary form</label></td>
408
                <td>
462
                <td>
409
                <select name="f33" id="f33" size="1">
463
                <select name="f33" id="f33" size="1" style="width:400px">
410
                        <!-- TMPL_IF name="f330" -->
464
                        <!-- TMPL_IF name="f330" -->
411
                        <option value="0" selected="selected">0- Not fiction</option>
465
                        <option value="0" selected="selected">0- Not fiction</option>
412
                        <!-- TMPL_ELSE -->
466
                        <!-- TMPL_ELSE -->
Lines 417-428 Link Here
417
                        <!-- TMPL_ELSE -->
471
                        <!-- TMPL_ELSE -->
418
                        <option value="1">1- Fiction</option>
472
                        <option value="1">1- Fiction</option>
419
                        <!-- /TMPL_IF -->
473
                        <!-- /TMPL_IF -->
420
			<!-- TMPL_IF name="f33c" -->
474
                        <!-- TMPL_IF name="f33c" -->
421
                        <option value="c" selected="selected">c- Comic strips</option>
475
                        <option value="c" selected="selected">c- Comic strips</option>
422
                        <!-- TMPL_ELSE -->
476
                        <!-- TMPL_ELSE -->
423
                        <option value="c">c- Comic strips</option>
477
                        <option value="c">c- Comic strips</option>
424
                        <!-- /TMPL_IF -->
478
                        <!-- /TMPL_IF -->
425
			
479
426
                        <!-- TMPL_IF name="f33d" -->
480
                        <!-- TMPL_IF name="f33d" -->
427
                        <option value="d" selected="selected">d- Dramas</option>
481
                        <option value="d" selected="selected">d- Dramas</option>
428
                        <!-- TMPL_ELSE -->
482
                        <!-- TMPL_ELSE -->
Lines 436-467 Link Here
436
                        <option value="e">e- Essays</option>
490
                        <option value="e">e- Essays</option>
437
                        <!-- /TMPL_IF -->
491
                        <!-- /TMPL_IF -->
438
492
439
			
493
440
                        <!-- TMPL_IF name="f33f" -->
494
                        <!-- TMPL_IF name="f33f" -->
441
                        <option value="f" selected="selected">f- Novels</option>
495
                        <option value="f" selected="selected">f- Novels</option>
442
                        <!-- TMPL_ELSE -->
496
                        <!-- TMPL_ELSE -->
443
                        <option value="f">f- Novels</option>
497
                        <option value="f">f- Novels</option>
444
                        <!-- /TMPL_IF -->
498
                        <!-- /TMPL_IF -->
445
499
446
			
500
447
                        <!-- TMPL_IF name="f33h" -->
501
                        <!-- TMPL_IF name="f33h" -->
448
                        <option value="h" selected="selected">h- Humor,satires,etc.</option>
502
                        <option value="h" selected="selected">h- Humor,satires,etc.</option>
449
                        <!-- TMPL_ELSE -->
503
                        <!-- TMPL_ELSE -->
450
                        <option value="h">h- Humor,satires,etc.</option>
504
                        <option value="h">h- Humor,satires,etc.</option>
451
                        <!-- /TMPL_IF -->
505
                        <!-- /TMPL_IF -->
452
			
506
453
                        <!-- TMPL_IF name="f33i" -->
507
                        <!-- TMPL_IF name="f33i" -->
454
                        <option value="i" selected="selected">i- Letters</option>
508
                        <option value="i" selected="selected">i- Letters</option>
455
                        <!-- TMPL_ELSE -->
509
                        <!-- TMPL_ELSE -->
456
                        <option value="i">i- Letters</option>
510
                        <option value="i">i- Letters</option>
457
                        <!-- /TMPL_IF -->
511
                        <!-- /TMPL_IF -->
458
			
512
459
                        <!-- TMPL_IF name="f33j" -->
513
                        <!-- TMPL_IF name="f33j" -->
460
                        <option value="j" selected="selected">j- Short stories</option>
514
                        <option value="j" selected="selected">j- Short stories</option>
461
                        <!-- TMPL_ELSE -->
515
                        <!-- TMPL_ELSE -->
462
                        <option value="j">j- Short stories</option>
516
                        <option value="j">j- Short stories</option>
463
                        <!-- /TMPL_IF -->
517
                        <!-- /TMPL_IF -->
464
			
518
465
                        <!-- TMPL_IF name="f33m" -->
519
                        <!-- TMPL_IF name="f33m" -->
466
                        <option value="m" selected="selected">m- Mixed forms</option>
520
                        <option value="m" selected="selected">m- Mixed forms</option>
467
                        <!-- TMPL_ELSE -->
521
                        <!-- TMPL_ELSE -->
Lines 479-485 Link Here
479
                        <!-- TMPL_ELSE -->
533
                        <!-- TMPL_ELSE -->
480
                        <option value="s">s- Speeches</option>
534
                        <option value="s">s- Speeches</option>
481
                        <!-- /TMPL_IF -->
535
                        <!-- /TMPL_IF -->
482
			
536
483
                        <!-- TMPL_IF name="f33u" -->
537
                        <!-- TMPL_IF name="f33u" -->
484
                        <option value="u" selected="selected">u- Unknown</option>
538
                        <option value="u" selected="selected">u- Unknown</option>
485
                        <!-- TMPL_ELSE -->
539
                        <!-- TMPL_ELSE -->
Lines 487-500 Link Here
487
                        <!-- /TMPL_IF -->
541
                        <!-- /TMPL_IF -->
488
542
489
543
490
491
                </select>
544
                </select>
492
                </td>
545
                </td>
493
        </tr>
546
        </tr>
494
	<tr>
547
    <tr>
495
                <td><label for="f34">34- Biography</label></td>
548
                <td><label for="f34">34- Biography</label></td>
496
                <td>
549
                <td>
497
                <select name="f34" id="f34" size="1">
550
                <select name="f34" id="f34" size="1" style="width:400px">
498
                        <!-- TMPL_IF name="f340" -->
551
                        <!-- TMPL_IF name="f340" -->
499
                        <option value=" " selected="selected">#- No biographical material</option>                              <!-- TMPL_ELSE -->
552
                        <option value=" " selected="selected">#- No biographical material</option>                              <!-- TMPL_ELSE -->
500
                        <option value=" ">#- No biographical material</option>
553
                        <option value=" ">#- No biographical material</option>
Lines 514-520 Link Here
514
                        <option value="c" selected="selected">c- Collective biography</option>                              <!-- TMPL_ELSE -->
567
                        <option value="c" selected="selected">c- Collective biography</option>                              <!-- TMPL_ELSE -->
515
                        <option value="c">c- Collective biography</option>
568
                        <option value="c">c- Collective biography</option>
516
                        <!-- /TMPL_IF -->
569
                        <!-- /TMPL_IF -->
517
			
570
518
                        <!-- TMPL_IF name="f34d" -->
571
                        <!-- TMPL_IF name="f34d" -->
519
                        <option value="d" selected="selected">d- Contains biographical information</option>                              <!-- TMPL_ELSE -->
572
                        <option value="d" selected="selected">d- Contains biographical information</option>                              <!-- TMPL_ELSE -->
520
                        <option value="d">d- Contains biographical information</option>
573
                        <option value="d">d- Contains biographical information</option>
Lines 523-582 Link Here
523
                </td>
576
                </td>
524
        </tr>
577
        </tr>
525
578
526
	 <tr>
579
     <tr>
527
580
528
                <td><label for="f3537">35-37 Language</label> See <a href="http://www.loc.gov/marc/languages/language_code.html">MARC Code List for Languages</a></td>
581
                <td><label for="f3537">35-37 Language</label> See <a href="http://www.loc.gov/marc/languages/language_code.html">MARC Code List for Languages</a></td>
529
                <td>
582
                <td>
530
                        <input type="text" name="f3537" id="f3537" size="4"  maxlength="4" value="<!-- TMPL_VAR NAME="f3537" -->"/>
583
                    <input type="text" name="f3537" id="f3537" size="4"  maxlength="4" value="<!-- TMPL_VAR NAME="f3537" -->"/>
531
                </td>
584
                </td>
532
        </tr>
585
        </tr>
533
	<tr>
586
    <tr>
534
                <td><label for="f38">38- Modified Record</label></td>
587
                <td><label for="f38">38- Modified Record</label></td>
535
                <td>                
588
                <td>
536
		<select name="f38" id="f38" size="1">                        			
589
                    <select name="f38" id="f38" size="1" style="width:400px">
537
			<!-- TMPL_IF name="f380" -->
590
                        <!-- TMPL_IF name="f380" -->
538
                        <option value=" " selected="selected">#- Not modified</option>
591
                                    <option value=" " selected="selected">#- Not modified</option>
539
                        <!-- TMPL_ELSE -->
592
                                    <!-- TMPL_ELSE -->
540
                        <option value=" ">#- Not modified</option>
593
                                    <option value=" ">#- Not modified</option>
541
                        <!-- /TMPL_IF -->
594
                                    <!-- /TMPL_IF -->
542
			
595
543
			<!-- TMPL_IF name="f38s" -->
596
                        <!-- TMPL_IF name="f38s" -->
544
                        <option value="s" selected="selected">s- Shortened</option>
597
                                    <option value="s" selected="selected">s- Shortened</option>
545
			<!-- TMPL_ELSE -->
598
                        <!-- TMPL_ELSE -->
546
                        <option value="s">s- Shortened</option>
599
                                    <option value="s">s- Shortened</option>
547
                        <!-- /TMPL_IF -->
600
                                    <!-- /TMPL_IF -->
548
601
549
			<!-- TMPL_IF name="f38d" -->
602
                        <!-- TMPL_IF name="f38d" -->
550
                        <option value="d" selected="selected">d- Dashed-on information omitted</option>
603
                                    <option value="d" selected="selected">d- Dashed-on information omitted</option>
551
                        <!-- TMPL_ELSE -->
604
                                    <!-- TMPL_ELSE -->
552
                        <option value="d">d- Dashed-on information omitted</option>
605
                                    <option value="d">d- Dashed-on information omitted</option>
553
                        <!-- /TMPL_IF -->
606
                                    <!-- /TMPL_IF -->
554
607
555
			<!-- TMPL_IF name="f38x" -->
608
                        <!-- TMPL_IF name="f38x" -->
556
                        <option value="x" selected="selected">x- Missing characters</option>
609
                                    <option value="x" selected="selected">x- Missing characters</option>
557
                        <!-- TMPL_ELSE -->
610
                                    <!-- TMPL_ELSE -->
558
                        <option value="x">x- Missing characters</option>
611
                                    <option value="x">x- Missing characters</option>
559
                        <!-- /TMPL_IF -->
612
                                    <!-- /TMPL_IF -->
560
613
561
			<!-- TMPL_IF name="f38r" -->
614
                        <!-- TMPL_IF name="f38r" -->
562
                        <option value="r" selected="selected">r- Completely romanized/printed cards in script</option>
615
                                    <option value="r" selected="selected">r- Completely romanized/printed cards in script</option>
563
                        <!-- TMPL_ELSE -->
616
                                    <!-- TMPL_ELSE -->
564
                        <option value="r">r- Completely romanized/printed cards in script</option>
617
                                    <option value="r">r- Completely romanized/printed cards in script</option>
565
                        <!-- /TMPL_IF -->
618
                                    <!-- /TMPL_IF -->
566
619
567
			<!-- TMPL_IF name="f38o" -->
620
                        <!-- TMPL_IF name="f38o" -->
568
                        <option value="o" selected="selected">o- Completely romainzed/printed cards romanized</option>
621
                                    <option value="o" selected="selected">o- Completely romainzed/printed cards romanized</option>
569
                        <!-- TMPL_ELSE -->
622
                                    <!-- TMPL_ELSE -->
570
                        <option value="o">o- Completely romanized/printed cards romanized</option>
623
                                    <option value="o">o- Completely romanized/printed cards romanized</option>
571
                        <!-- /TMPL_IF -->
624
                                    <!-- /TMPL_IF -->
572
		</select>
625
                    </select>
573
626
574
                </td>
627
                </td>
575
        </tr>
628
        </tr>
576
<tr>
629
<tr>
577
                <td><label for="f39">39- Cataloging source</label></td>
630
                <td><label for="f39" style="width:400px">39- Cataloging source</label></td>
578
                <td>
631
                <td>
579
                <select name="f39" id="f39" size="1">                                    
632
                <select name="f39" id="f39" size="1">
580
                        <!-- TMPL_IF name="f390" -->
633
                        <!-- TMPL_IF name="f390" -->
581
                        <option value=" " selected="selected">#- National bibliographic agency</option>
634
                        <option value=" " selected="selected">#- National bibliographic agency</option>
582
                        <!-- TMPL_ELSE -->
635
                        <!-- TMPL_ELSE -->
Lines 588-607 Link Here
588
                        <!-- TMPL_ELSE -->
641
                        <!-- TMPL_ELSE -->
589
                        <option value="c">c- Cooperative cataloging program</option>
642
                        <option value="c">c- Cooperative cataloging program</option>
590
                        <!-- /TMPL_IF -->
643
                        <!-- /TMPL_IF -->
591
			<!-- TMPL_IF name="f39d" -->
644
                        <!-- TMPL_IF name="f39d" -->
592
                        <option value="d" selected="selected">d- Other</option>
645
                        <option value="d" selected="selected">d- Other</option>
593
                        <!-- TMPL_ELSE -->
646
                        <!-- TMPL_ELSE -->
594
                        <option value="d">d- Other</option>
647
                        <option value="d">d- Other</option>
595
                        <!-- /TMPL_IF -->
648
                        <!-- /TMPL_IF -->
596
649
597
			<!-- TMPL_IF name="f39u" -->
650
                        <!-- TMPL_IF name="f39u" -->
598
                        <option value="u" selected="selected">u- Unknown</option>
651
                        <option value="u" selected="selected">u- Unknown</option>
599
                        <!-- TMPL_ELSE -->
652
                        <!-- TMPL_ELSE -->
600
                        <option value="u">u- Unknown</option>
653
                        <option value="u">u- Unknown</option>
601
                        <!-- /TMPL_IF -->
654
                        <!-- /TMPL_IF -->
602
		</select>
655
        </select>
603
                </td>
656
                </td>
604
        </tr>
657
        </tr>
658
    <!-- /TMPL_IF -->
605
659
606
</table>
660
</table>
607
<fieldset class="action"><input type="submit" value="OK" /> <a href="#" class="cancel close">Cancel</a></fieldset>
661
<fieldset class="action"><input type="submit" value="OK" /> <a href="#" class="cancel close">Cancel</a></fieldset>
Lines 611-659 Link Here
611
// Pad the string with spaces so that it is 4 characters long.
665
// Pad the string with spaces so that it is 4 characters long.
612
// Also, truncate strings that are longer than 4 characters.
666
// Also, truncate strings that are longer than 4 characters.
613
function pad4(s) {
667
function pad4(s) {
614
	var pad = "";
668
    var pad = "";
615
	if (s.length < 4) {
669
    if (s.length < 4) {
616
		var padLength = 4 - s.length;
670
        var padLength = 4 - s.length;
617
		for (var i = 0; i < 4 - s.length; i++) {
671
        for (var i = 0; i < 4 - s.length; i++) {
618
			pad += " ";
672
            pad += " ";
619
		}
673
        }
620
		s += pad;
674
        s += pad;
621
	} else {
675
    } else {
622
		s = s.substring(0, 4);
676
        s = s.substring(0, 4);
623
	}
677
    }
624
	return s;
678
    return s;
625
}
679
}
626
680
681
682
function parseField()
683
{
684
    var result = "";
685
    result = document.f_pop.f1.value+
686
            document.f_pop.f6.value+
687
            // bug 2563 {
688
            ( document.f_pop.f710.value.match(/^\s*$/)  ? "    " : pad4(document.f_pop.f710.value)  )+
689
            ( document.f_pop.f1114.value.match(/^\s*$/) ? "    " : pad4(document.f_pop.f1114.value) )+
690
            // }
691
            //MR
692
            (document.f_pop.f1517.value+"   ").substr(0,3)+
693
            (document.f_pop.f1821.value+"    ").substr(0,4)+
694
            document.f_pop.f22.value+
695
            document.f_pop.f23.value+
696
            (document.f_pop.f2427.value+"    ").substr(0,4)+
697
            document.f_pop.f28.value+
698
            document.f_pop.f29.value+
699
            document.f_pop.f30.value+
700
            document.f_pop.f31.value+ ' '+
701
            document.f_pop.f33.value+
702
            document.f_pop.f34.value+
703
            //MR
704
            (document.f_pop.f3537.value+"   ").substr(0,3)+
705
            document.f_pop.f38.value+
706
            document.f_pop.f39.value;
707
    return result;
708
}//parseField
709
710
627
function report() {
711
function report() {
628
            var doc   = opener.document; 
712
            var doc   = opener.document;
629
            var field = doc.getElementById("<!-- TMPL_VAR NAME='index'-->");
713
            var field = doc.getElementById("<!-- TMPL_VAR NAME='index'-->");
630
            field.value = 
714
            <!-- TMPL_IF NAME="viewMaterialTypesMode" -->
631
			document.f_pop.f1.value+
715
            field.value = document.getElementById("h4_result").innerHTML;
632
			document.f_pop.f6.value+
716
            <!-- TMPL_ELSE -->
633
			// bug 2563 {
717
            field.value = parseField();
634
			( document.f_pop.f710.value.match(/^\s*$/)  ? "    " : pad4(document.f_pop.f710.value)  )+
718
            <!-- /TMPL_IF -->
635
			( document.f_pop.f1114.value.match(/^\s*$/) ? "    " : pad4(document.f_pop.f1114.value) )+
719
636
			// }
720
        self.close();
637
			//MR
721
        return false;
638
			(document.f_pop.f1517.value+"   ").substr(0,3)+
722
    }
639
			(document.f_pop.f1821.value+"    ").substr(0,4)+
723
    //]]>
640
			document.f_pop.f22.value+
641
			document.f_pop.f23.value+
642
			(document.f_pop.f2427.value+"    ").substr(0,4)+
643
			document.f_pop.f28.value+
644
			document.f_pop.f29.value+
645
			document.f_pop.f30.value+
646
			document.f_pop.f31.value+ ' '+
647
			document.f_pop.f33.value+
648
			document.f_pop.f34.value+
649
			//MR
650
			(document.f_pop.f3537.value+"   ").substr(0,3)+
651
			document.f_pop.f38.value+
652
			document.f_pop.f39.value;
653
		self.close();
654
		return false;
655
	}
656
	//]]>
657
</script>
724
</script>
658
725
659
<!-- TMPL_INCLUDE NAME="popup-bottom.inc" -->
726
<!-- TMPL_INCLUDE NAME="popup-bottom.inc" -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008.xml (+1298 lines)
Line 0 Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<Tagfield tag="008" xmlns="http://koha-community.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation= "./marc21_field_CF.xsd">
3
  <Material id="BKS" name="Books" description="">
4
    <Position pos="00-05" name="Date entered on file" description=""/>
5
    <Position pos="06" name="Type of date/ Publication status" description="">
6
      <Value description="No dates given; B.C. date involved">b</Value>
7
      <Value description="Continuing resource currently published">c</Value>
8
      <Value description="Continuing resource ceased publication">d</Value>
9
      <Value description="Detailed date">e</Value>
10
      <Value description="Inclusive dates of colletion">i</Value>
11
      <Value description="Range of years of bulk of collection">k</Value>
12
      <Value description="Multiple dates">m</Value>
13
      <Value description="Dates unknown">n</Value>
14
      <Value description="Date of distribution/ release/ issue and production/ recording session when different">p</Value>
15
      <Value description="Questionable date">q</Value>
16
      <Value description="Reprint / reissue date and original date">r</Value>
17
      <Value description="Single know date / probable date">s</Value>
18
      <Value description="Publication date and copyright date">t</Value>
19
      <Value description="Continuings resource status unknown">u</Value>
20
      <Value description="No attempt to code">|</Value>
21
    </Position>
22
    <Position pos="07-10" name="Date 1" description="A date specified by the code in 008/06 (Type of date/ Publication status)">
23
      <Value description="Date element is not applicable">#</Value>
24
      <Value description="Date digit">1</Value>
25
      <Value description="Date digit">2</Value>
26
      <Value description="Date digit">3</Value>
27
      <Value description="Date digit">4</Value>
28
      <Value description="Date digit">5</Value>
29
      <Value description="Date digit">6</Value>
30
      <Value description="Date digit">7</Value>
31
      <Value description="Date digit">8</Value>
32
      <Value description="Date digit">9</Value>
33
      <Value description="Date element is totally or partially unknown">u</Value>
34
      <Value description="No attempt to code">||||</Value>
35
    </Position>
36
    <Position pos="11-14" name="Date 2" description="A date specified by the code in 008/06 (Type of date/ Publication status)">
37
      <Value description="Date element is not applicable">#</Value>
38
      <Value description="Date digit">1</Value>
39
      <Value description="Date digit">2</Value>
40
      <Value description="Date digit">3</Value>
41
      <Value description="Date digit">4</Value>
42
      <Value description="Date digit">5</Value>
43
      <Value description="Date digit">6</Value>
44
      <Value description="Date digit">7</Value>
45
      <Value description="Date digit">8</Value>
46
      <Value description="Date digit">9</Value>
47
      <Value description="Date element is totally or partially unknown">u</Value>
48
      <Value description="No attempt to code">||||</Value>
49
    </Position>
50
    <Position pos="15-17" url="http://www.loc.gov/marc/countries/countries_code.html" urltext="MARC Code List for Countries" name="Place of publication, production, or execution" description="">
51
      <Value description="Various places">vp# </Value>
52
      <Value description="No place, unknown, or undetermined">xx#</Value>
53
      <Value description="Two-character alphabetic code">[aa#]</Value>
54
      <Value description="Three-character alphabetic code">[aaa]</Value>
55
    </Position>
56
    <Position pos="18-21" name="Illustrations" description="Up to four (4) one-character alphabetic codes (recorded in alphabetical order) that indicate the presence of types of illustrations in the item. If fewer than four alphabetic codes are assigned, the codes are left justified and unused positions contain blanks (#)">
57
      <Value description="No illustrations">#</Value>
58
      <Value description="Illustrations">a</Value>
59
      <Value description="Maps">b</Value>
60
      <Value description="Portraits">c</Value>
61
      <Value description="Charts">d</Value>
62
      <Value description="Plans">e</Value>
63
      <Value description="Plates">f</Value>
64
      <Value description="Music">g</Value>
65
      <Value description="Facsimiles">h</Value>
66
      <Value description="Coats of arms">i</Value>
67
      <Value description="Genealogical tables">j</Value>
68
      <Value description="Forms">k</Value>
69
      <Value description="Samples">l</Value>
70
      <Value description="Phonodisc, phonowire, etc">m</Value>
71
      <Value description="Photographs">o</Value>
72
      <Value description="Illuminations">p</Value>
73
      <Value description="No attempt to code">|</Value>
74
    </Position>
75
    <Position pos="22" name="Target audience" description="One- character alphabetic code that describes the intellectual level of the target audience for which the material is intended">
76
      <Value description="Unknown or not specified">#</Value>
77
      <Value description="Preschool">a</Value>
78
      <Value description="Primary">b</Value>
79
      <Value description="Pre-adolescent">c</Value>
80
      <Value description="Adolescent">d</Value>
81
      <Value description="Adult">e</Value>
82
      <Value description="Specialized">f</Value>
83
      <Value description="General">g</Value>
84
      <Value description="Juvenile">j</Value>
85
      <Value description="No attempt to code">|</Value>
86
    </Position>
87
    <Position pos="23" name="Form of item" description="One character alphabetic code that specifies the form of material for the item">
88
      <Value description="None of the following">#</Value>
89
      <Value description="Microfilm">a</Value>
90
      <Value description="Microfiche">b</Value>
91
      <Value description="Microopaque">c</Value>
92
      <Value description="Large print">d</Value>
93
      <Value description="Braille">f</Value>
94
      <Value description="Online">o</Value>
95
      <Value description="Direct electronic">q</Value>
96
      <Value description="Regular print reproduction">r</Value>
97
      <Value description="Electronic">s</Value>
98
      <Value description="No attempt to code">|</Value>
99
    </Position>
100
    <Position pos="24-27" name="Nature of contents" description="Up to four one-character codes that indicate whether a significant part of the item is or contains certain types of material. If fewer than four codes are assigned, the codes are left justified and unused positions contain blanks (#)">
101
      <Value description="No specified nature of contents">#</Value>
102
      <Value description="Offprints.Publication that originally was published as an article in a monograph or a serial and that is also issued separately and independently. Includes prepints and postprints">2</Value>
103
      <Value description="Calendars">5</Value>
104
      <Value description="Comics/graphic novels">6</Value>
105
      <Value description="Abstracts/summaries. Abstracts or summaries of other publications. Not used when a publication includes an abstract or summary of its own content.">a</Value>
106
      <Value description="Bibliographies">b</Value>
107
      <Value description="Catalogs">c</Value>
108
      <Value description="Dictionaries. Also used for a glossary or a gazetteer.">d</Value>
109
      <Value description="Encyclopedias">e</Value>
110
      <Value description="Handbooks">f</Value>
111
      <Value description="Legal articles">g</Value>
112
      <Value description="Indexes. Index to bibliographical material other than itself. Not used when a publication contains an index to its own content.">i</Value>
113
      <Value description="Patent document">j</Value>
114
      <Value description="Discographies">k</Value>
115
      <Value description="Legislation. Full or partial text of enactments of legislative bodies, published either in statute or in code form, or text of rules and regulations issued by executive or adminitrative agencies.">l</Value>
116
      <Value description="Theses. Thesis, dissertation, or work identified as having been created to satisfy the requirements for an academic certification or degree.">m</Value>
117
      <Value description="Surveys of literature in a subject area. Composed entirely of authored surveys that summarize what has been published about a subject.">n</Value>
118
      <Value description="Reviews. Devoted entirely to critical reviews of published or performed works (e.g., books, films, sound recordings, theater)">o</Value>
119
      <Value description="Programmed texts">p</Value>
120
      <Value description="Filmographies. Entire item, or a significant part of it, is a filmography or other  bibliografy of moving images.">q</Value>
121
      <Value description="Directories">r</Value>
122
      <Value description="Statistics">s</Value>
123
      <Value description="Technical reports">t</Value>
124
      <Value description="Standars/specifications">u</Value>
125
      <Value description="Legal cases and case notes">v</Value>
126
      <Value description="Law reports and digests">w</Value>
127
      <Value description="Yearbooks">y</Value>
128
      <Value description="Treaties. Treaty or accord negotiated between two or more parties to settle a disagreement, establish a relationship, gran rights,etc.">z</Value>
129
      <Value description="No attempt to code">|</Value>
130
    </Position>
131
    <Position pos="28" name="Government publication" description="One-character code that indicates whether or not the item is published or produced by or for an international, national, state, provincial, or local government agency, or by any subdivision of such a body">
132
      <Value description="Not a government publication">#</Value>
133
      <Value description="Autonomous or semi-autonomous component">a</Value>
134
      <Value description="Multilocal">c</Value>
135
      <Value description="Federal / National">f</Value>
136
      <Value description="International intergovernmental">i</Value>
137
      <Value description="Local">l</Value>
138
      <Value description="Multistate">m</Value>
139
      <Value description="Government publication-level undetermined">o</Value>
140
      <Value description="State, provincial, territorial, dependent, etc.">s</Value>
141
      <Value description="Unknown if item is government publication">u</Value>
142
      <Value description="Other">z</Value>
143
      <Value description="No attempt to code">|</Value>
144
    </Position>
145
    <Position pos="29" name="Conference publication" description="One-character code that indicates whether the item consists of the proceedings, reports, or summaries of a conference.">
146
      <Value description="Not a conference publication">0</Value>
147
      <Value description="Conference">1</Value>
148
      <Value description="No attempt to code">|</Value>
149
    </Position>
150
    <Position pos="30" name="Festschrift" description="One-character code that indicates whether the item is a festschrift">
151
      <Value description="Not a festschrift">0</Value>
152
      <Value description="Festschrift">1</Value>
153
      <Value description="No attempt to code">|</Value>
154
    </Position>
155
    <Position pos="31" name="Index" description="One-character numeric code that indicates whether the item includes an index to its own contents">
156
      <Value description="No index">0</Value>
157
      <Value description="Index present">1</Value>
158
      <Value description="No attempt to code">|</Value>
159
    </Position>
160
    <Position pos="32" name="Undefined" description="Contains a blank (#) or a fill character (|)."/>
161
    <Position pos="33" name="Literary form" description="One-character code used to indicate the literary form of an item. Numeric codes 0 and 1 provide a generic identification of whether or not the item is a work of fiction. Alphabetic codes may be used to identify specific literary forms.">
162
      <Value description="Not fiction (not further specified)">0</Value>
163
      <Value description="Fiction (not further specified)">1</Value>
164
      <Value description="Dramas">d</Value>
165
      <Value description="Essays">e</Value>
166
      <Value description="Novels">f</Value>
167
      <Value description="Humor, satires, etc.">h</Value>
168
      <Value description="Letters. Single letter or collection of correspondence">i</Value>
169
      <Value description="Short stories. Short story or collection of short stories.">j</Value>
170
      <Value description="Mixed forms. Represents a variety of literary forms (e.g., poetry and short stories)">m</Value>
171
      <Value description="Poetry">p</Value>
172
      <Value description="Speeches">s</Value>
173
      <Value description="Unknown">u</Value>
174
      <Value description="No attempt to code">|</Value>
175
    </Position>
176
    <Position pos="34" name="Biography" description="One-character alphabetic code that indicates whether or not an item contains biographical material, and if so, what the biographical characteristics are.">
177
      <Value description="No biographical material">#</Value>
178
      <Value description="Autobiography">a</Value>
179
      <Value description="Individual biography">b</Value>
180
      <Value description="Collective biography">c</Value>
181
      <Value description="Contains biographical information">d</Value>
182
      <Value description="No attempt to code">|</Value>
183
    </Position>
184
    <Position pos="35-37" url="http://www.loc.gov/marc/languages/language_code.html" urltext="MARC Code List for Languages" name="Language" description="">
185
      <Value description="No information provided">###</Value>
186
      <Value description="Multiple languages">mul</Value>
187
      <Value description="Sign languages">sgn</Value>
188
      <Value description="Undetermined">und</Value>
189
      <Value description="No linguistic content">zxx</Value>
190
      <Value description="Tree-character alphabetic code">[aaa]</Value>
191
    </Position>
192
    <Position pos="38" name="Modified record" description="One-character code that indicates whether any data in a bibliographic record is a modification of information that appeared on the item being cataloged or that was intended to be included in the MARC record.">
193
      <Value description="No modified">#</Value>
194
      <Value description="Dashed-on information omitted">d</Value>
195
      <Value description="Completely romanized/printed cards romanized">o</Value>
196
      <Value description="Completely romanized/printed cards in script">r</Value>
197
      <Value description="Shortened">s</Value>
198
      <Value description="Missing characters">x</Value>
199
      <Value description="No attempt to code">|</Value>
200
    </Position>
201
    <Position pos="39" name="Cataloging source" description="">
202
      <Value description="National bibliographic agency">#</Value>
203
      <Value description="Cooperative cataloging program">c</Value>
204
      <Value description="Other">d</Value>
205
      <Value description="Unknown">u</Value>
206
      <Value description="No attempt to code">|</Value>
207
    </Position>
208
  </Material>
209
  <Material id="CF" name="Computer Files" description="">
210
    <Position pos="00-05" name="Date entered on file" description=""/>
211
    <Position pos="06" name="Type of date/ Publication status" description="">
212
      <Value description="No dates given; B.C. date involved">b</Value>
213
      <Value description="Continuing resource currently published">c</Value>
214
      <Value description="Continuing resource ceased publication">d</Value>
215
      <Value description="Detailed date">e</Value>
216
      <Value description="Inclusive dates of colletion">i</Value>
217
      <Value description="Range of years of bulk of collection">k</Value>
218
      <Value description="Multiple dates">m</Value>
219
      <Value description="Dates unknown">n</Value>
220
      <Value description="Date of distribution/ release/ issue and production/ recording session when different">p</Value>
221
      <Value description="Questionable date">q</Value>
222
      <Value description="Reprint / reissue date and original date">r</Value>
223
      <Value description="Single know date / probable date">s</Value>
224
      <Value description="Publication date and copyright date">t</Value>
225
      <Value description="Continuings resource status unknown">u</Value>
226
      <Value description="No attempt to code">|</Value>
227
    </Position>
228
    <Position pos="07-10" name="Date 1" description="A date specified by the code in 008/06 (Type of date/ Publication status)">
229
      <Value description="Date element is not applicable">#</Value>
230
      <Value description="Date digit">1</Value>
231
      <Value description="Date digit">2</Value>
232
      <Value description="Date digit">3</Value>
233
      <Value description="Date digit">4</Value>
234
      <Value description="Date digit">5</Value>
235
      <Value description="Date digit">6</Value>
236
      <Value description="Date digit">7</Value>
237
      <Value description="Date digit">8</Value>
238
      <Value description="Date digit">9</Value>
239
      <Value description="Date element is totally or partially unknown">u</Value>
240
      <Value description="No attempt to code">||||</Value>
241
    </Position>
242
    <Position pos="11-14" name="Date 2" description="A date specified by the code in 008/06 (Type of date/ Publication status)">
243
      <Value description="Date element is not applicable">#</Value>
244
      <Value description="Date digit">1</Value>
245
      <Value description="Date digit">2</Value>
246
      <Value description="Date digit">3</Value>
247
      <Value description="Date digit">4</Value>
248
      <Value description="Date digit">5</Value>
249
      <Value description="Date digit">6</Value>
250
      <Value description="Date digit">7</Value>
251
      <Value description="Date digit">8</Value>
252
      <Value description="Date digit">9</Value>
253
      <Value description="Date element is totally or partially unknown">u</Value>
254
      <Value description="No attempt to code">||||</Value>
255
    </Position>
256
    <Position pos="15-17" url="http://www.loc.gov/marc/countries/countries_code.html" urltext="MARC Code List for Countries" name="Place of publication, production, or execution" description="">
257
      <Value description="Various places">vp# </Value>
258
      <Value description="No place, unknown, or undetermined">xx#</Value>
259
      <Value description="Two-character alphabetic code">[aa#]</Value>
260
      <Value description="Three-character alphabetic code">[aaa]</Value>
261
    </Position>
262
    <Position pos="18-21" name="Undefined" description="Each one contains a blank (#) or a fill character (|)"/>
263
    <Position pos="22" name="Target audience" description="One- character alphabetic code that describes the intellectual level of the target audience for which the material is intended">
264
      <Value description="Unknown or not specified">#</Value>
265
      <Value description="Preschool">a</Value>
266
      <Value description="Primary">b</Value>
267
      <Value description="Pre-adolescent">c</Value>
268
      <Value description="Adolescent">d</Value>
269
      <Value description="Adult">e</Value>
270
      <Value description="Specialized">f</Value>
271
      <Value description="General">g</Value>
272
      <Value description="Juvenile">j</Value>
273
      <Value description="No attempt to code">|</Value>
274
    </Position>
275
    <Position pos="23" name="Form of item" description="One-character alphabetic code that specifies the form of material for the item">
276
      <Value description="Unknown or not specified">#</Value>
277
      <Value description="Online">o</Value>
278
      <Value description="Direct electronic">q</Value>
279
      <Value description="No attempt to code">|</Value>
280
    </Position>
281
    <Position pos="24-25" name="Undefined" description="Two undefined character positions; each contains a blank (#) or a fill character (|)."/>
282
    <Position pos="26" name="Type of computer file " description="One-character alphabetic code that indicates the type of computer file described in the bibliographic record">
283
      <Value description="Numeric data">a</Value>
284
      <Value description="Computer program">b</Value>
285
      <Value description="Representational. Pictorial or graphic information that can be manipulated in conjunction with other types of files to produce graphic patterns that can be used to interpret and give meaning to the information. Does not include a document in image format.">c</Value>
286
      <Value description="Document">d</Value>
287
      <Value description="Bibliographic data">e</Value>
288
      <Value description="Font">f</Value>
289
      <Value description="Game">g</Value>
290
      <Value description="Sound">h</Value>
291
      <Value description="Interactive multimedia">i</Value>
292
      <Value description="Online system or service">j</Value>
293
      <Value description="Combination">m</Value>
294
      <Value description="Unknown">u</Value>
295
      <Value description="Other">z</Value>
296
      <Value description="No attempt to code">|</Value>
297
    </Position>
298
    <Position pos="27" name="No definido" description="One-character code that contains a blank (#) or a fill character (|)"/>
299
    <Position pos="28" name="Government publication" description="One-character code that indicates whether or not the item is published or produced by or for an international, national, state, provincial, or local government agency, or by any subdivision of such a body">
300
      <Value description="Not a government publication">#</Value>
301
      <Value description="Autonomous or semi-autonomous component">a</Value>
302
      <Value description="Multilocal">c</Value>
303
      <Value description="Federal / National">f</Value>
304
      <Value description="International intergovernmental">i</Value>
305
      <Value description="Local">l</Value>
306
      <Value description="Multistate">m</Value>
307
      <Value description="Government publication-level undetermined">o</Value>
308
      <Value description="State, provincial, territorial, dependent, etc.">s</Value>
309
      <Value description="Unknown if item is government publication">u</Value>
310
      <Value description="Other">z</Value>
311
      <Value description="No attempt to code">|</Value>
312
    </Position>
313
    <Position pos="29-34" name="Undefined" description="Six undefined character positions; each contains a blank (#) or a fill character (|)."/>
314
    <Position pos="35-37" url="http://www.loc.gov/marc/languages/language_code.html" urltext="MARC Code List for Languages" name="Language" description="">
315
      <Value description="No information provided">###</Value>
316
      <Value description="Multiple languages">mul</Value>
317
      <Value description="Sign languages">sgn</Value>
318
      <Value description="Undetermined">und</Value>
319
      <Value description="No linguistic content">zxx</Value>
320
      <Value description="Tree-character alphabetic code">[aaa]</Value>
321
    </Position>
322
    <Position pos="38" name="Modified record" description="One-character code that indicates whether any data in a bibliographic record is a modification of information that appeared on the item being cataloged or that was intended to be included in the MARC record.">
323
      <Value description="No modified">#</Value>
324
      <Value description="Dashed-on information omitted">d</Value>
325
      <Value description="Completely romanized/printed cards romanized">o</Value>
326
      <Value description="Completely romanized/printed cards in script">r</Value>
327
      <Value description="Shortened">s</Value>
328
      <Value description="Missing characters">x</Value>
329
      <Value description="No attempt to code">|</Value>
330
    </Position>
331
    <Position pos="39" name="Cataloging source" description="">
332
      <Value description="National bibliographic agency">#</Value>
333
      <Value description="Cooperative cataloging program">c</Value>
334
      <Value description="Other">d</Value>
335
      <Value description="Unknown">u</Value>
336
      <Value description="No attempt to code">|</Value>
337
    </Position>
338
  </Material>
339
  <Material id="MP" name="Maps" description="">
340
    <Position pos="00-05" name="Date entered on file" description=""/>
341
    <Position pos="06" name="Type of date/ Publication status" description="">
342
      <Value description="No dates given; B.C. date involved">b</Value>
343
      <Value description="Continuing resource currently published">c</Value>
344
      <Value description="Continuing resource ceased publication">d</Value>
345
      <Value description="Detailed date">e</Value>
346
      <Value description="Inclusive dates of colletion">i</Value>
347
      <Value description="Range of years of bulk of collection">k</Value>
348
      <Value description="Multiple dates">m</Value>
349
      <Value description="Dates unknown">n</Value>
350
      <Value description="Date of distribution/ release/ issue and production/ recording session when different">p</Value>
351
      <Value description="Questionable date">q</Value>
352
      <Value description="Reprint / reissue date and original date">r</Value>
353
      <Value description="Single know date / probable date">s</Value>
354
      <Value description="Publication date and copyright date">t</Value>
355
      <Value description="Continuings resource status unknown">u</Value>
356
      <Value description="No attempt to code">|</Value>
357
    </Position>
358
    <Position pos="07-10" name="Date 1" description="A date specified by the code in 008/06 (Type of date/ Publication status)">
359
      <Value description="Date element is not applicable">#</Value>
360
      <Value description="Date digit">1</Value>
361
      <Value description="Date digit">2</Value>
362
      <Value description="Date digit">3</Value>
363
      <Value description="Date digit">4</Value>
364
      <Value description="Date digit">5</Value>
365
      <Value description="Date digit">6</Value>
366
      <Value description="Date digit">7</Value>
367
      <Value description="Date digit">8</Value>
368
      <Value description="Date digit">9</Value>
369
      <Value description="Date element is totally or partially unknown">u</Value>
370
      <Value description="No attempt to code">||||</Value>
371
    </Position>
372
    <Position pos="11-14" name="Date 2" description="A date specified by the code in 008/06 (Type of date/ Publication status)">
373
      <Value description="Date element is not applicable">#</Value>
374
      <Value description="Date digit">1</Value>
375
      <Value description="Date digit">2</Value>
376
      <Value description="Date digit">3</Value>
377
      <Value description="Date digit">4</Value>
378
      <Value description="Date digit">5</Value>
379
      <Value description="Date digit">6</Value>
380
      <Value description="Date digit">7</Value>
381
      <Value description="Date digit">8</Value>
382
      <Value description="Date digit">9</Value>
383
      <Value description="Date element is totally or partially unknown">u</Value>
384
      <Value description="No attempt to code">||||</Value>
385
    </Position>
386
    <Position pos="15-17" url="http://www.loc.gov/marc/countries/countries_code.html" urltext="MARC Code List for Countries" name="Place of publication, production, or execution" description="">
387
      <Value description="Various places">vp# </Value>
388
      <Value description="No place, unknown, or undetermined">xx#</Value>
389
      <Value description="Two-character alphabetic code">[aa#]</Value>
390
      <Value description="Three-character alphabetic code">[aaa]</Value>
391
    </Position>
392
    <Position pos="18-21" name="Relief" description="Up to four one-character alphabetic codes that indicate the relief type specified on the item. Codes are recorded in order of their importance to the described item. If fewer than four codes are assigned, the codes are left justified and each unused position contains a blank (#).">
393
      <Value description="No relief shown"># </Value>
394
      <Value description="Contours">a</Value>
395
      <Value description="Shading">b</Value>
396
      <Value description="Gradient and bathymetric tints">c</Value>
397
      <Value description="Hachures">d</Value>
398
      <Value description="Bathymetry/soundings">e</Value>
399
      <Value description="Form lines">f</Value>
400
      <Value description="Spot heights">g</Value>
401
      <Value description="Pictorially">i</Value>
402
      <Value description="Land forms">j</Value>
403
      <Value description="Bathymetry/ isolines">k</Value>
404
      <Value description="Rock drawings">m</Value>
405
      <Value description="Other">z</Value>
406
      <Value description="No attempt to code">||||</Value>
407
    </Position>
408
    <Position pos="22-23" name="Projection" description="Two-character alphabetic code that indicates the projection used in producing the item.">
409
      <Value description="Projection not specified">##</Value>
410
      <Value description="Aitoff ">aa</Value>
411
      <Value description="Gnomic">ab</Value>
412
      <Value description="Lambert's azimuthal equal area">ac</Value>
413
      <Value description="Orthographic">ad</Value>
414
      <Value description="Azimuthal equidistant">ae</Value>
415
      <Value description="Stereographic">af</Value>
416
      <Value description="General vertical near-sided">ag</Value>
417
      <Value description="Modified stereographic for Alaska">am</Value>
418
      <Value description="Chamberlin trimetric">an</Value>
419
      <Value description="Polar stereographic">ap</Value>
420
      <Value description="Azimuthal, specific type unknown">au</Value>
421
      <Value description="Azimutal, other">az</Value>
422
      <Value description="Gall ">ba</Value>
423
      <Value description="Goode's homolographic">bb</Value>
424
      <Value description="Lambert's cylindrical equal area">bc</Value>
425
      <Value description="Mercator">bd</Value>
426
      <Value description="Miller ">be</Value>
427
      <Value description="Mollweide ">bf</Value>
428
      <Value description="Sinusoidal ">bg</Value>
429
      <Value description="Transverse Mercator">bh</Value>
430
      <Value description="Gauss-Kruger ">bi</Value>
431
      <Value description="Equirectangular ">bj</Value>
432
      <Value description="Krovak">bk</Value>
433
      <Value description="Cassini-Soldner">bl</Value>
434
      <Value description="Oblique Mercator">bo</Value>
435
      <Value description="Robinson ">br</Value>
436
      <Value description="Space oblique Mercator">bs</Value>
437
      <Value description="Cylindrical, specific type unknown">bu</Value>
438
      <Value description="Cylindrical, other">bz</Value>
439
      <Value description="Albers equal area">ca</Value>
440
      <Value description="Bonne ">cb</Value>
441
      <Value description="Lambert's conformal conic">cc</Value>
442
      <Value description="Equidistant conic">ce</Value>
443
      <Value description="Polyconic">cp</Value>
444
      <Value description="Conic, specific type unknown">cu</Value>
445
      <Value description="Conic, other">cz</Value>
446
      <Value description="Armadillo ">da</Value>
447
      <Value description="Butterfly ">db</Value>
448
      <Value description="Eckert ">dc</Value>
449
      <Value description="Goode's homolosine">dd</Value>
450
      <Value description="Miller's bipolar oblique conformal conic">de</Value>
451
      <Value description="Van Der Grinten ">df</Value>
452
      <Value description="Dimaxión ">dg</Value>
453
      <Value description="Cordiform">dh</Value>
454
      <Value description="Lambert conformal ">dl</Value>
455
      <Value description="Other">zz</Value>
456
      <Value description="No attempt to code">|</Value>
457
    </Position>
458
    <Position pos="24" name="Undefined" description="Undefined; contains a blank (#) or a fill character (|)."/>
459
    <Position pos="25" name="Type of cartographic material" description="One-character alphabetic code that indicates the type of cartographic item described.">
460
      <Value description="Single map">a</Value>
461
      <Value description="Map Series. Number of related but physically separate and bibliographically distinct cartographic units intended by the producer(s) or issuing body(s) to form a single group.">b</Value>
462
      <Value description="Map serial. Issued in successive parts bearing numerical or chronological designations and intended to be continued indefinitely">c</Value>
463
      <Value description="Globe">d</Value>
464
      <Value description="Atlas ">e</Value>
465
      <Value description="Separate supplement to another work">f</Value>
466
      <Value description="Bound as part of another work">g</Value>
467
      <Value description="Unknown">u</Value>
468
      <Value description="Other">z</Value>
469
      <Value description="No attempt to code">|</Value>
470
    </Position>
471
    <Position pos="26-27" name="Undefined" description="Each contains a blank (#) or a fill character (|)"/>
472
    <Position pos="28" name="Government publication" description="One-character code that indicates whether or not the item is published or produced by or for an international, national, state, provincial, or local government agency, or by any subdivision of such a body">
473
      <Value description="Not a government publication">#</Value>
474
      <Value description="Autonomous or semi-autonomous component">a</Value>
475
      <Value description="Multilocal">c</Value>
476
      <Value description="Federal / National">f</Value>
477
      <Value description="International intergovernmental">i</Value>
478
      <Value description="Local">l</Value>
479
      <Value description="Multistate">m</Value>
480
      <Value description="Government publication-level undetermined">o</Value>
481
      <Value description="State, provincial, territorial, dependent, etc.">s</Value>
482
      <Value description="Unknown if item is government publication">u</Value>
483
      <Value description="Other">z</Value>
484
      <Value description="No attempt to code">|</Value>
485
    </Position>
486
    <Position pos="29" name="Form of item" description="One-character alphabetic code that indicates the form of material for the item.">
487
      <Value description="None of the following">#</Value>
488
      <Value description="Microfilm">a</Value>
489
      <Value description="Microfiche">b</Value>
490
      <Value description="Microopaque">c</Value>
491
      <Value description="Large print">d</Value>
492
      <Value description="Braille ">f</Value>
493
      <Value description="Online.  The resource is accessed by means of hardware and software connections to a communications network. If a distinction between types of electronic resources is not necessary, code s can be used as a generic code for any form of electronic resource.">o</Value>
494
      <Value description="Direct electronic. Storage on a directly accessible tangible recording medium, e.g. disc, tape, playaway device, flashdrive, portable hard drive, etc. If a distinction between types of electronic resources is not necessary, code s can be used as a generic code for any form of electronic resource.">q</Value>
495
      <Value description="Regular print reproduction">r</Value>
496
      <Value description="Electronic. Intended for manipulation by a computer. May reside in a carrier accessed either directly or remotely, in some cases requiring the use of peripheral devices attached to the computer (e.g., a CD-ROM player). Not used for items that do not require the use of a computer (e.g., music compact discs, videodiscs). This code can be used as a generic code for any form of electronic resource. Codes o and q may be used if there is a need to separately identify online and direct electronic resources.">s</Value>
497
      <Value description="No attempt to code">|</Value>
498
    </Position>
499
    <Position pos="30" name="Undefined" description="Contains a blank (#) or a fill character (|)."/>
500
    <Position pos="31" name="Index" description="One-character numeric code that indicates whether the item or accompanying material includes a location index or gazetteer.">
501
      <Value description="No index">0</Value>
502
      <Value description="Index present">1</Value>
503
      <Value description="No attempt to code">|</Value>
504
    </Position>
505
    <Position pos="32" name="Undefined" description="Contains a blank (#) or a fill character (|)."/>
506
    <Position pos="33-34" name="Special format characteristics" description="Up to two one-character alphabetic codes that indicate the special format characteristics of the map. Codes are recorded in order of their importance to the described item. If only one code is assigned, it is left justified and the unused position contains a blank (#).">
507
      <Value description="No specified special format characteristics">#</Value>
508
      <Value description="Manuscript">e</Value>
509
      <Value description="Picture card, post card">j</Value>
510
      <Value description="Calendar">k</Value>
511
      <Value description="Puzzle">l</Value>
512
      <Value description="Game">n</Value>
513
      <Value description="Wall map">o</Value>
514
      <Value description="Playing cards">p</Value>
515
      <Value description="Loose-leaf">r</Value>
516
      <Value description="Other">z</Value>
517
      <Value description="No attempt to code">|</Value>
518
    </Position>
519
    <Position pos="35-37" url="http://www.loc.gov/marc/languages/language_code.html" urltext="MARC Code List for Languages" name="Language" description="">
520
      <Value description="No information provided">###</Value>
521
      <Value description="Multiple languages">mul</Value>
522
      <Value description="Sign languages">sgn</Value>
523
      <Value description="Undetermined">und</Value>
524
      <Value description="No linguistic content">zxx</Value>
525
      <Value description="Tree-character alphabetic code">[aaa]</Value>
526
    </Position>
527
    <Position pos="38" name="Modified record" description="One-character code that indicates whether any data in a bibliographic record is a modification of information that appeared on the item being cataloged or that was intended to be included in the MARC record.">
528
      <Value description="No modified">#</Value>
529
      <Value description="Dashed-on information omitted">d</Value>
530
      <Value description="Completely romanized/printed cards romanized">o</Value>
531
      <Value description="Completely romanized/printed cards in script">r</Value>
532
      <Value description="Shortened">s</Value>
533
      <Value description="Missing characters">x</Value>
534
      <Value description="No attempt to code">|</Value>
535
    </Position>
536
    <Position pos="39" name="Cataloging source" description="">
537
      <Value description="National bibliographic agency">#</Value>
538
      <Value description="Cooperative cataloging program">c</Value>
539
      <Value description="Other">d</Value>
540
      <Value description="Unknown">u</Value>
541
      <Value description="No attempt to code">|</Value>
542
    </Position>
543
  </Material>
544
  <Material id="MU" name="Music" description="">
545
    <Position pos="00-05" name="Date entered on file" description=""/>
546
    <Position pos="06" name="Type of date/ Publication status" description="">
547
      <Value description="No dates given; B.C. date involved">b</Value>
548
      <Value description="Continuing resource currently published">c</Value>
549
      <Value description="Continuing resource ceased publication">d</Value>
550
      <Value description="Detailed date">e</Value>
551
      <Value description="Inclusive dates of colletion">i</Value>
552
      <Value description="Range of years of bulk of collection">k</Value>
553
      <Value description="Multiple dates">m</Value>
554
      <Value description="Dates unknown">n</Value>
555
      <Value description="Date of distribution/ release/ issue and production/ recording session when different">p</Value>
556
      <Value description="Questionable date">q</Value>
557
      <Value description="Reprint / reissue date and original date">r</Value>
558
      <Value description="Single know date / probable date">s</Value>
559
      <Value description="Publication date and copyright date">t</Value>
560
      <Value description="Continuings resource status unknown">u</Value>
561
      <Value description="No attempt to code">|</Value>
562
    </Position>
563
    <Position pos="07-10" name="Date 1" description="A date specified by the code in 008/06 (Type of date/ Publication status)">
564
      <Value description="Date element is not applicable">#</Value>
565
      <Value description="Date digit">1</Value>
566
      <Value description="Date digit">2</Value>
567
      <Value description="Date digit">3</Value>
568
      <Value description="Date digit">4</Value>
569
      <Value description="Date digit">5</Value>
570
      <Value description="Date digit">6</Value>
571
      <Value description="Date digit">7</Value>
572
      <Value description="Date digit">8</Value>
573
      <Value description="Date digit">9</Value>
574
      <Value description="Date element is totally or partially unknown">u</Value>
575
      <Value description="No attempt to code">||||</Value>
576
    </Position>
577
    <Position pos="11-14" name="Date 2" description="A date specified by the code in 008/06 (Type of date/ Publication status)">
578
      <Value description="Date element is not applicable">#</Value>
579
      <Value description="Date digit">1</Value>
580
      <Value description="Date digit">2</Value>
581
      <Value description="Date digit">3</Value>
582
      <Value description="Date digit">4</Value>
583
      <Value description="Date digit">5</Value>
584
      <Value description="Date digit">6</Value>
585
      <Value description="Date digit">7</Value>
586
      <Value description="Date digit">8</Value>
587
      <Value description="Date digit">9</Value>
588
      <Value description="Date element is totally or partially unknown">u</Value>
589
      <Value description="No attempt to code">||||</Value>
590
    </Position>
591
    <Position pos="15-17" url="http://www.loc.gov/marc/countries/countries_code.html" urltext="MARC Code List for Countries" name="Place of publication, production, or execution" description="">
592
      <Value description="Various places">vp# </Value>
593
      <Value description="No place, unknown, or undetermined">xx#</Value>
594
      <Value description="Two-character alphabetic code">[aa#]</Value>
595
      <Value description="Three-character alphabetic code">[aaa]</Value>
596
    </Position>
597
    <Position pos="18-19" name="Form of composition" description="">
598
      <Value description="Anthems">an</Value>
599
      <Value description="Ballads">bd</Value>
600
      <Value description="Bluegrass music">bg</Value>
601
      <Value description="Blues ">bl</Value>
602
      <Value description="Ballets ">bt</Value>
603
      <Value description="Chaconnes">ca</Value>
604
      <Value description="Chants, Other religions">cb</Value>
605
      <Value description="Chants, Christian">cc</Value>
606
      <Value description="Concerti grossi ">cg</Value>
607
      <Value description="Chorales">ch</Value>
608
      <Value description="Chorale preludes">cl</Value>
609
      <Value description="Canons and rounds">cn</Value>
610
      <Value description="Concertos">co</Value>
611
      <Value description="Chansons, polyphonic">cp</Value>
612
      <Value description="Carols">cr</Value>
613
      <Value description="Chance compositions">cs</Value>
614
      <Value description="Cantatas">ct</Value>
615
      <Value description="Country music">cy</Value>
616
      <Value description="Canzonas">cz</Value>
617
      <Value description="Dance forms">df</Value>
618
      <Value description="Divertimentos, serenades, cassations, divertissements, and notturni">dv</Value>
619
      <Value description="Fugues">fg</Value>
620
      <Value description="Flamenco">fl</Value>
621
      <Value description="Folk music">fm</Value>
622
      <Value description="Fantasias ">ft</Value>
623
      <Value description="Gospel music">gm</Value>
624
      <Value description="Hymns">hy</Value>
625
      <Value description="Jazz">jz</Value>
626
      <Value description="Musical revues and comedies">mc</Value>
627
      <Value description="Madrigals">md</Value>
628
      <Value description="Minuets ">mi</Value>
629
      <Value description="Motets">mo</Value>
630
      <Value description="Motion picture music">mp</Value>
631
      <Value description="Marches">mr</Value>
632
      <Value description="Masses">ms</Value>
633
      <Value description="Multiple forms">mu</Value>
634
      <Value description="Mazurkas">mz</Value>
635
      <Value description="Nocturnes">nc</Value>
636
      <Value description="Not applicable">nn</Value>
637
      <Value description="Operas">op</Value>
638
      <Value description="Oratorios ">or</Value>
639
      <Value description="Overtures">ov</Value>
640
      <Value description="Program music">pg</Value>
641
      <Value description="Passion music">pm</Value>
642
      <Value description="Polonaises">po</Value>
643
      <Value description="Popular music">pp</Value>
644
      <Value description="Preludes">pr</Value>
645
      <Value description="Passacaglias">ps</Value>
646
      <Value description="Part-songs">pt</Value>
647
      <Value description="Pavans">pv</Value>
648
      <Value description=" Rock music">rc</Value>
649
      <Value description="Rondos">rd</Value>
650
      <Value description="Ragtime music">rg</Value>
651
      <Value description="Ricercars ">ri</Value>
652
      <Value description="Rhapsodies">rp</Value>
653
      <Value description="Requiems ">rq</Value>
654
      <Value description="Square dance music">sd</Value>
655
      <Value description="Songs">sg</Value>
656
      <Value description="Sonatas ">sn</Value>
657
      <Value description="Symphonic poems">sp</Value>
658
      <Value description="Studies and exercises">st</Value>
659
      <Value description="Suites ">su</Value>
660
      <Value description="Symphonies">sy</Value>
661
      <Value description="Toccatas">tc</Value>
662
      <Value description="Teatro lirico">tl</Value>
663
      <Value description="Trio-sonatas">ts</Value>
664
      <Value description="Unknown">uu</Value>
665
      <Value description="Villacincos">vi</Value>
666
      <Value description="Variations">vr</Value>
667
      <Value description="Waltzers">wz</Value>
668
      <Value description="Zarzuelas">za</Value>
669
      <Value description="Other">zz</Value>
670
      <Value description="No attempt to code">||</Value>
671
    </Position>
672
    <Position pos="20" name="Format of music" description="One-character code that indicates the format of a musical composition (e.g., piano-conductor score).">
673
      <Value description="Full score">a</Value>
674
      <Value description="Full score, miniature or study size">b</Value>
675
      <Value description="Accompaniment reduced for keyboard">c</Value>
676
      <Value description="Voice score">d</Value>
677
      <Value description="Condensed score or piano-conductor score">e</Value>
678
      <Value description="Close score">g</Value>
679
      <Value description="Chorus score">h</Value>
680
      <Value description="Condensed score">i</Value>
681
      <Value description="Performer-conductor part">j</Value>
682
      <Value description="Multiple score formats">m</Value>
683
      <Value description="Not applicable">n</Value>
684
      <Value description="Unknown">u</Value>
685
      <Value description="Other">z</Value>
686
      <Value description="No attempt to code">|</Value>
687
    </Position>
688
    <Position pos="21" name="Music Parts" description="">
689
      <Value description="No parts in hand or not specified">#</Value>
690
      <Value description="Instrumental and vocal parts">d</Value>
691
      <Value description="Instrumental parts">e</Value>
692
      <Value description="Vocal parts">f</Value>
693
      <Value description="Not applicable">n</Value>
694
      <Value description="Unknown">u</Value>
695
      <Value description="No attempt to code">|</Value>
696
    </Position>
697
    <Position pos="22" name="Target audience" description="One- character alphabetic code that describes the intellectual level of the target audience for which the material is intended">
698
      <Value description="Unknown or not specified">#</Value>
699
      <Value description="Preschool">a</Value>
700
      <Value description="Primary">b</Value>
701
      <Value description="Pre-adolescent">c</Value>
702
      <Value description="Adolescent">d</Value>
703
      <Value description="Adult">e</Value>
704
      <Value description="Specialized">f</Value>
705
      <Value description="General">g</Value>
706
      <Value description="Juvenile">j</Value>
707
      <Value description="No attempt to code">|</Value>
708
    </Position>
709
    <Position pos="23" name="Form of item" description="One-character alphabetic code that indicates the form of material for the item.">
710
      <Value description="None of the following">#</Value>
711
      <Value description="Microfilm">a</Value>
712
      <Value description="Microfiche">b</Value>
713
      <Value description="Microopaque">c</Value>
714
      <Value description="Large print">d</Value>
715
      <Value description="Braille ">f</Value>
716
      <Value description="Online.  The resource is accessed by means of hardware and software connections to a communications network. If a distinction between types of electronic resources is not necessary, code s can be used as a generic code for any form of electronic resource.">o</Value>
717
      <Value description="Direct electronic. Storage on a directly accessible tangible recording medium, e.g. disc, tape, playaway device, flashdrive, portable hard drive, etc. If a distinction between types of electronic resources is not necessary, code s can be used as a generic code for any form of electronic resource.">q</Value>
718
      <Value description="Regular print reproduction">r</Value>
719
      <Value description="Electronic. Intended for manipulation by a computer. May reside in a carrier accessed either directly or remotely, in some cases requiring the use of peripheral devices attached to the computer (e.g., a CD-ROM player). Not used for items that do not require the use of a computer (e.g., music compact discs, videodiscs). This code can be used as a generic code for any form of electronic resource. Codes o and q may be used if there is a need to separately identify online and direct electronic resources.">s</Value>
720
      <Value description="No attempt to code">|</Value>
721
    </Position>
722
    <Position pos="24-29" name="Accompanying matter" description="Up to six one-character alphabetic codes (recorded in alphabetical order) that indicate the contents of program notes and other accompanying material for sound recording, music manuscripts, or notated music. If fewer than six codes are assigned, the codes are left justified and each unused position contains a blank (#).">
723
      <Value description="No accompanying matter">#</Value>
724
      <Value description="Discography">a</Value>
725
      <Value description="Bibliography">b</Value>
726
      <Value description="Thematic indez">c</Value>
727
      <Value description="Libretto or text">d</Value>
728
      <Value description="Bibliography of composer or autor">e</Value>
729
      <Value description="Biography of performer or history of ensemble">f</Value>
730
      <Value description="Technical and/or historical information on instruments">g</Value>
731
      <Value description="Technical information on music">h</Value>
732
      <Value description="Historical information">i</Value>
733
      <Value description="Ethnological information">k</Value>
734
      <Value description="Instrutional materials">r</Value>
735
      <Value description="Music">s</Value>
736
      <Value description="Other">z</Value>
737
      <Value description="No attempt to code">|</Value>
738
    </Position>
739
    <Position pos="30-31" name="Literary text for sound recordings " description="Up to two one-character codes (recorded in the order of the following list) that indicate the type of literary text contained in a nonmusical sound recording. If only one code is assigned, it is left justified and the unused position contains a blank (#).">
740
      <Value description="Item is a music sound recording">#</Value>
741
      <Value description="Autobiography">a</Value>
742
      <Value description="Biography">b</Value>
743
      <Value description="Conference proceedings">c</Value>
744
      <Value description="Drama ">d</Value>
745
      <Value description="Essays">e</Value>
746
      <Value description="Fiction">f</Value>
747
      <Value description="Reporting">g</Value>
748
      <Value description="History">h</Value>
749
      <Value description="Instruction">i</Value>
750
      <Value description="Language instruction">j</Value>
751
      <Value description="Comedy">k</Value>
752
      <Value description="Lectures, speeches">l</Value>
753
      <Value description="Memoirs">m</Value>
754
      <Value description="Not applicable">n</Value>
755
      <Value description="Folktales">o</Value>
756
      <Value description="Poetry">p</Value>
757
      <Value description="Rehearsals">r</Value>
758
      <Value description="Sounds">s</Value>
759
      <Value description="Interviews">t</Value>
760
      <Value description="Other">z</Value>
761
      <Value description="No attempt to code">|</Value>
762
    </Position>
763
    <Position pos="32" name="Undefined" description="Undefined; contains a blank (#) or a fill character (|)."/>
764
    <Position pos="33" name="Transposition and arrangement" description="Whether all or part of the item being cataloged is a transposition and/or arrangement of another work.">
765
      <Value description="Not arrangement or transposition or not specified">#</Value>
766
      <Value description="Transposition">a</Value>
767
      <Value description="Arragement">b</Value>
768
      <Value description="Both transposed and arranged">c</Value>
769
      <Value description="Not applicable">n</Value>
770
      <Value description="Unknown">u</Value>
771
      <Value description="No attempt to code">|</Value>
772
    </Position>
773
    <Position pos="34" name="Undefined" description="Undefined; contains a blank (#) or a fill character (|)."/>
774
    <Position pos="35-37" url="http://www.loc.gov/marc/languages/language_code.html" urltext="MARC Code List for Languages" name="Language" description="">
775
      <Value description="No information provided">###</Value>
776
      <Value description="Multiple languages">mul</Value>
777
      <Value description="Sign languages">sgn</Value>
778
      <Value description="Undetermined">und</Value>
779
      <Value description="No linguistic content">zxx</Value>
780
      <Value description="Tree-character alphabetic code">[aaa]</Value>
781
    </Position>
782
    <Position pos="38" name="Modified record" description="One-character code that indicates whether any data in a bibliographic record is a modification of information that appeared on the item being cataloged or that was intended to be included in the MARC record.">
783
      <Value description="No modified">#</Value>
784
      <Value description="Dashed-on information omitted">d</Value>
785
      <Value description="Completely romanized/printed cards romanized">o</Value>
786
      <Value description="Completely romanized/printed cards in script">r</Value>
787
      <Value description="Shortened">s</Value>
788
      <Value description="Missing characters">x</Value>
789
      <Value description="No attempt to code">|</Value>
790
    </Position>
791
    <Position pos="39" name="Cataloging source" description="">
792
      <Value description="National bibliographic agency">#</Value>
793
      <Value description="Cooperative cataloging program">c</Value>
794
      <Value description="Other">d</Value>
795
      <Value description="Unknown">u</Value>
796
      <Value description="No attempt to code">|</Value>
797
    </Position>
798
  </Material>
799
  <Material id="CR" name="Continuing Resources" description="">
800
    <Position pos="00-05" name="Date entered on file" description=""/>
801
    <Position pos="06" name="Type of date/ Publication status" description="">
802
      <Value description="No dates given; B.C. date involved">b</Value>
803
      <Value description="Continuing resource currently published">c</Value>
804
      <Value description="Continuing resource ceased publication">d</Value>
805
      <Value description="Detailed date">e</Value>
806
      <Value description="Inclusive dates of colletion">i</Value>
807
      <Value description="Range of years of bulk of collection">k</Value>
808
      <Value description="Multiple dates">m</Value>
809
      <Value description="Dates unknown">n</Value>
810
      <Value description="Date of distribution/ release/ issue and production/ recording session when different">p</Value>
811
      <Value description="Questionable date">q</Value>
812
      <Value description="Reprint / reissue date and original date">r</Value>
813
      <Value description="Single know date / probable date">s</Value>
814
      <Value description="Publication date and copyright date">t</Value>
815
      <Value description="Continuings resource status unknown">u</Value>
816
      <Value description="No attempt to code">|</Value>
817
    </Position>
818
    <Position pos="07-10" name="Date 1" description="A date specified by the code in 008/06 (Type of date/ Publication status)">
819
      <Value description="Date element is not applicable">#</Value>
820
      <Value description="Date digit">1</Value>
821
      <Value description="Date digit">2</Value>
822
      <Value description="Date digit">3</Value>
823
      <Value description="Date digit">4</Value>
824
      <Value description="Date digit">5</Value>
825
      <Value description="Date digit">6</Value>
826
      <Value description="Date digit">7</Value>
827
      <Value description="Date digit">8</Value>
828
      <Value description="Date digit">9</Value>
829
      <Value description="Date element is totally or partially unknown">u</Value>
830
      <Value description="No attempt to code">||||</Value>
831
    </Position>
832
    <Position pos="11-14" name="Date 2" description="A date specified by the code in 008/06 (Type of date/ Publication status)">
833
      <Value description="Date element is not applicable">#</Value>
834
      <Value description="Date digit">1</Value>
835
      <Value description="Date digit">2</Value>
836
      <Value description="Date digit">3</Value>
837
      <Value description="Date digit">4</Value>
838
      <Value description="Date digit">5</Value>
839
      <Value description="Date digit">6</Value>
840
      <Value description="Date digit">7</Value>
841
      <Value description="Date digit">8</Value>
842
      <Value description="Date digit">9</Value>
843
      <Value description="Date element is totally or partially unknown">u</Value>
844
      <Value description="No attempt to code">||||</Value>
845
    </Position>
846
    <Position pos="15-17" url="http://www.loc.gov/marc/countries/countries_code.html" urltext="MARC Code List for Countries" name="Place of publication, production, or execution" description="">
847
      <Value description="Various places">vp# </Value>
848
      <Value description="No place, unknown, or undetermined">xx#</Value>
849
      <Value description="Two-character alphabetic code">[aa#]</Value>
850
      <Value description="Three-character alphabetic code">[aaa]</Value>
851
    </Position>
852
    <Position pos="18" name="Frequency" description="One-character alphabetic code that indicates the frequency of an item; used in conjunction with 008/19 (Regularity).">
853
      <Value description="No determinable frequency">#</Value>
854
      <Value description="Annual">a</Value>
855
      <Value description="Bimonthly">b</Value>
856
      <Value description="Semiweekly">c</Value>
857
      <Value description="Daily">d</Value>
858
      <Value description="Biweekly">e</Value>
859
      <Value description="Semiannual">f</Value>
860
      <Value description="Biennial">g</Value>
861
      <Value description="Triennial">h</Value>
862
      <Value description="Three times a week">i</Value>
863
      <Value description="Three times a month">j</Value>
864
      <Value description="Continuously updated">k</Value>
865
      <Value description="Monthly">m</Value>
866
      <Value description="Quarterly">q</Value>
867
      <Value description="Semimonthly">s</Value>
868
      <Value description="Three times a year">t</Value>
869
      <Value description="Unknown">u</Value>
870
      <Value description="Weekly">w</Value>
871
      <Value description="Other">z</Value>
872
      <Value description="No attempt to code">|</Value>
873
    </Position>
874
    <Position pos="19" name="Regularity" description="One-character alphabetic code that indicates the intended regularity of an item; used in conjunction with 008/18 (Frequency).">
875
      <Value description="Normalized irregular">n</Value>
876
      <Value description="Regular ">r</Value>
877
      <Value description="Unknown">u</Value>
878
      <Value description="Completely irregular">x</Value>
879
      <Value description="No attempt to code">|</Value>
880
    </Position>
881
    <Position pos="20" name="Undefined" description="Undefined; contains a blank (#) or a fill character (|)."/>
882
    <Position pos="21" name="Type of continuing resource" description="One-character alphabetic code that indicates the type of continuing resource.">
883
      <Value description="None of the following">#</Value>
884
      <Value description="Updating database">d</Value>
885
      <Value description="Updating loose-leaf">l</Value>
886
      <Value description="Monographic series">m</Value>
887
      <Value description="Newspaper">n</Value>
888
      <Value description="Periodical">p</Value>
889
      <Value description="Updating web site">w</Value>
890
      <Value description="No attempt to code">|</Value>
891
    </Position>
892
    <Position pos="22" name="Form of original item" description="One-character alphabetic code that indicates the form of material in which an item was originally published.">
893
      <Value description="None of the following">#</Value>
894
      <Value description="Microfilm">a</Value>
895
      <Value description="Microfiche">b</Value>
896
      <Value description="Microopaque">c</Value>
897
      <Value description="Large print">d</Value>
898
      <Value description="Newspaper format">e</Value>
899
      <Value description="Braille ">f</Value>
900
      <Value description="Online.  The resource is accessed by means of hardware and software connections to a communications network. If a distinction between types of electronic resources is not necessary, code s can be used as a generic code for any form of electronic resource.">o</Value>
901
      <Value description="Direct electronic">q</Value>
902
      <Value description="Electronic. Intended for manipulation by a computer. May reside in a carrier accessed either directly or remotely, in some cases requiring the use of peripheral devices attached to the computer (e.g., a CD-ROM player). Not used for items that do not requi">s</Value>
903
      <Value description="No attempt to code">|</Value>
904
    </Position>
905
    <Position pos="23" name="Form of item" description="One-character alphabetic code that specifies the form of material for the item being described">
906
      <Value description="None of the following">#</Value>
907
      <Value description="Microfilm">a</Value>
908
      <Value description="Microfiche">b</Value>
909
      <Value description="Microopaque">c</Value>
910
      <Value description="Large print">d</Value>
911
      <Value description="Braille ">f</Value>
912
      <Value description="Online.  The resource is accessed by means of hardware and software connections to a communications network. If a distinction between types of electronic resources is not necessary, code s can be used as a generic code for any form of electronic resource.">o</Value>
913
      <Value description="Direct electronic">q</Value>
914
      <Value description="Regular print reproduction">r</Value>
915
      <Value description="Electronic. Intended for manipulation by a computer. May reside in a carrier accessed either directly or remotely, in some cases requiring the use of peripheral devices attached to the computer (e.g., a CD-ROM player). Not used for items that do not requi">s</Value>
916
      <Value description="No attempt to code">|</Value>
917
    </Position>
918
    <Position pos="24" name="Nature of entire work" description="">
919
      <Value description="Not specified">#</Value>
920
      <Value description="Calendars">5</Value>
921
      <Value description="Comics/graphic novels">6</Value>
922
      <Value description="Abstracts/ summaries">a</Value>
923
      <Value description="Bibliographies">b</Value>
924
      <Value description="Catalogs">c</Value>
925
      <Value description="Dictionaries. Also used for a glossary or a gazetteer.">d</Value>
926
      <Value description="Encyclopedias">e</Value>
927
      <Value description="Handbooks">f</Value>
928
      <Value description="Legal articles">g</Value>
929
      <Value description="Biography">h</Value>
930
      <Value description="Indexes. Index to bibliographical material other than itself. Not used when a publication contains an index to its own content.">i</Value>
931
      <Value description="Discographies">k</Value>
932
      <Value description="Legislation. Full or partial text of enactments of legislative bodies, published either in statute or in code form, or text of rules and regulations issued by executive or adminitrative agencies.">l</Value>
933
      <Value description="Theses">m</Value>
934
      <Value description="Survey of literature in a subject area">n</Value>
935
      <Value description="Reviews">o</Value>
936
      <Value description="Programmed texts">p</Value>
937
      <Value description="Filmographies">q</Value>
938
      <Value description="Directories">r</Value>
939
      <Value description="Statistics">s</Value>
940
      <Value description="Technical reports">t</Value>
941
      <Value description="Standards/ specifications">u</Value>
942
      <Value description="Legal cases and case notes">v</Value>
943
      <Value description="Law reorts and digests">w</Value>
944
      <Value description="Yearbooks">y</Value>
945
      <Value description="Teatries">z</Value>
946
      <Value description="No attempt to code">|</Value>
947
    </Position>
948
    <Position pos="25-27" name="Nature of contents" description="">
949
      <Value description="Not specified">#</Value>
950
      <Value description="Calendars">5</Value>
951
      <Value description="Comics/graphic novels">6</Value>
952
      <Value description="Abstracts/ summaries">a</Value>
953
      <Value description="Bibliographies">b</Value>
954
      <Value description="Catalogs">c</Value>
955
      <Value description="Dictionaries. Also used for a glossary or a gazetteer.">d</Value>
956
      <Value description="Encyclopedias">e</Value>
957
      <Value description="Handbooks">f</Value>
958
      <Value description="Legal articles">g</Value>
959
      <Value description="Biography">h</Value>
960
      <Value description="Indexes. Index to bibliographical material other than itself. Not used when a publication contains an index to its own content.">i</Value>
961
      <Value description="Discographies">k</Value>
962
      <Value description="Legislation. Full or partial text of enactments of legislative bodies, published either in statute or in code form, or text of rules and regulations issued by executive or adminitrative agencies.">l</Value>
963
      <Value description="Theses">m</Value>
964
      <Value description="Survey of literature in a subject area">n</Value>
965
      <Value description="Reviews">o</Value>
966
      <Value description="Programmed texts">p</Value>
967
      <Value description="Filmographies">q</Value>
968
      <Value description="Directories">r</Value>
969
      <Value description="Statistics">s</Value>
970
      <Value description="Technical reports">t</Value>
971
      <Value description="Standars/specifications">u</Value>
972
      <Value description="Legal cases and case notes">v</Value>
973
      <Value description="Law reports and digests">w</Value>
974
      <Value description="Treaties">z</Value>
975
      <Value description="No attempt to code">|||</Value>
976
    </Position>
977
    <Position pos="28" name="Government publication" description="One-character code that indicates whether or not the item is published or produced by or for an international, national, state, provincial, or local government agency, or by any subdivision of such a body">
978
      <Value description="Not a government publication">#</Value>
979
      <Value description="Autonomous or semi-autonomous component">a</Value>
980
      <Value description="Multilocal">c</Value>
981
      <Value description="Federal / National">f</Value>
982
      <Value description="International intergovernmental">i</Value>
983
      <Value description="Local">l</Value>
984
      <Value description="Multistate">m</Value>
985
      <Value description="Government publication-level undetermined">o</Value>
986
      <Value description="State, provincial, territorial, dependent, etc.">s</Value>
987
      <Value description="Unknown if item is government publication">u</Value>
988
      <Value description="Other">z</Value>
989
      <Value description="No attempt to code">|</Value>
990
    </Position>
991
    <Position pos="29" name="Conference publication" description="One-character numeric code that indicates whether an item consists of the proceedings, reports, or summaries of a conference.">
992
      <Value description="Not a conference publication">0</Value>
993
      <Value description="Conference publication">1</Value>
994
      <Value description="No attempt to code">|</Value>
995
    </Position>
996
    <Position pos="30-32" name="Undefined" description="Undefined; each contains a blank (#) or a fill character (|)."/>
997
    <Position pos="33" name="Original alphabet or script of title" description="One-character alphabetic code that indicates the original alphabet or script of the language of the title on the source item upon which the key title (field 222) is based.">
998
      <Value description="No alphabet or script given / No key title">#</Value>
999
      <Value description="Basic Roman">a</Value>
1000
      <Value description="Extended Roman">b</Value>
1001
      <Value description="Cyrillic">c</Value>
1002
      <Value description="Japanese">d</Value>
1003
      <Value description="Chinese">e</Value>
1004
      <Value description="Arabic">f</Value>
1005
      <Value description="Greek">g</Value>
1006
      <Value description="Hebrew">h</Value>
1007
      <Value description="Thai ">i</Value>
1008
      <Value description="Devanagari ">j</Value>
1009
      <Value description="Korean">k</Value>
1010
      <Value description="Tamil ">l</Value>
1011
      <Value description="Unknown">u</Value>
1012
      <Value description="Other">z</Value>
1013
      <Value description="No attempt to code">|</Value>
1014
    </Position>
1015
    <Position pos="34" name="Entry convention" description="One-character numeric code that indicates whether the item was cataloged according to successive entry, latest entry, or integrated entry cataloging conventions.">
1016
      <Value description="Succesive entry.New bibliographic record is created each time 1) a title changes, or 2) a corporate body used as main entry or uniform title qualifier, changes. The earlier or later title or author/title is recorded in a linking field (field 780/785) on each record.">0</Value>
1017
      <Value description="Latest entry. Cataloged under its latest (most recent) title or issuing body (pre-AACR cataloging rules). All former titles and/or issuing bodies are given in notes (fields 247, 547, and 550).">1</Value>
1018
      <Value description="Integrated entry. Cataloged under its latest (most recent) title and/or responsible person or corporate body. Used for integrating resources and electronic serials that do not retain their earlier titles.">2</Value>
1019
      <Value description="No attempt to code">|</Value>
1020
    </Position>
1021
    <Position pos="35-37" url="http://www.loc.gov/marc/languages/language_code.html" urltext="MARC Code List for Languages" name="Language" description="">
1022
      <Value description="No information provided">###</Value>
1023
      <Value description="Multiple languages">mul</Value>
1024
      <Value description="Sign languages">sgn</Value>
1025
      <Value description="Undetermined">und</Value>
1026
      <Value description="No linguistic content">zxx</Value>
1027
      <Value description="Tree-character alphabetic code">[aaa]</Value>
1028
    </Position>
1029
    <Position pos="38" name="Modified record" description="One-character code that indicates whether any data in a bibliographic record is a modification of information that appeared on the item being cataloged or that was intended to be included in the MARC record.">
1030
      <Value description="No modified">#</Value>
1031
      <Value description="Dashed-on information omitted">d</Value>
1032
      <Value description="Completely romanized/printed cards romanized">o</Value>
1033
      <Value description="Completely romanized/printed cards in script">r</Value>
1034
      <Value description="Shortened">s</Value>
1035
      <Value description="Missing characters">x</Value>
1036
      <Value description="No attempt to code">|</Value>
1037
    </Position>
1038
    <Position pos="39" name="Cataloging source" description="">
1039
      <Value description="National bibliographic agency">#</Value>
1040
      <Value description="Cooperative cataloging program">c</Value>
1041
      <Value description="Other">d</Value>
1042
      <Value description="Unknown">u</Value>
1043
      <Value description="No attempt to code">|</Value>
1044
    </Position>
1045
  </Material>
1046
  <Material id="VM" name="Visual Materials" description="">
1047
    <Position pos="00-05" name="Date entered on file" description=""/>
1048
    <Position pos="06" name="Type of date/ Publication status" description="">
1049
      <Value description="No dates given; B.C. date involved">b</Value>
1050
      <Value description="Continuing resource currently published">c</Value>
1051
      <Value description="Continuing resource ceased publication">d</Value>
1052
      <Value description="Detailed date">e</Value>
1053
      <Value description="Inclusive dates of colletion">i</Value>
1054
      <Value description="Range of years of bulk of collection">k</Value>
1055
      <Value description="Multiple dates">m</Value>
1056
      <Value description="Dates unknown">n</Value>
1057
      <Value description="Date of distribution/ release/ issue and production/ recording session when different">p</Value>
1058
      <Value description="Questionable date">q</Value>
1059
      <Value description="Reprint / reissue date and original date">r</Value>
1060
      <Value description="Single know date / probable date">s</Value>
1061
      <Value description="Publication date and copyright date">t</Value>
1062
      <Value description="Continuings resource status unknown">u</Value>
1063
      <Value description="No attempt to code">|</Value>
1064
    </Position>
1065
    <Position pos="07-10" name="Date 1" description="A date specified by the code in 008/06 (Type of date/ Publication status)">
1066
      <Value description="Date element is not applicable">#</Value>
1067
      <Value description="Date digit">1</Value>
1068
      <Value description="Date digit">2</Value>
1069
      <Value description="Date digit">3</Value>
1070
      <Value description="Date digit">4</Value>
1071
      <Value description="Date digit">5</Value>
1072
      <Value description="Date digit">6</Value>
1073
      <Value description="Date digit">7</Value>
1074
      <Value description="Date digit">8</Value>
1075
      <Value description="Date digit">9</Value>
1076
      <Value description="Date element is totally or partially unknown">u</Value>
1077
      <Value description="No attempt to code">||||</Value>
1078
    </Position>
1079
    <Position pos="11-14" name="Date 2" description="A date specified by the code in 008/06 (Type of date/ Publication status)">
1080
      <Value description="Date element is not applicable">#</Value>
1081
      <Value description="Date digit">1</Value>
1082
      <Value description="Date digit">2</Value>
1083
      <Value description="Date digit">3</Value>
1084
      <Value description="Date digit">4</Value>
1085
      <Value description="Date digit">5</Value>
1086
      <Value description="Date digit">6</Value>
1087
      <Value description="Date digit">7</Value>
1088
      <Value description="Date digit">8</Value>
1089
      <Value description="Date digit">9</Value>
1090
      <Value description="Date element is totally or partially unknown">u</Value>
1091
      <Value description="No attempt to code">||||</Value>
1092
    </Position>
1093
    <Position pos="15-17" url="http://www.loc.gov/marc/countries/countries_code.html" urltext="MARC Code List for Countries" name="Place of publication, production, or execution" description="">
1094
      <Value description="Various places">vp# </Value>
1095
      <Value description="No place, unknown, or undetermined">xx#</Value>
1096
      <Value description="Two-character alphabetic code">[aa#]</Value>
1097
      <Value description="Three-character alphabetic code">[aaa]</Value>
1098
    </Position>
1099
    <Position pos="18-20" name="Running time for motion pictures and videorecordings " description="Three-digit number that indicates the total running time of the motion picture or videorecording. The number is right justified and each unused position contains a zero.">
1100
      <Value description="Running time exceeds three characters">000</Value>
1101
      <Value description="Running time">001-999</Value>
1102
      <Value description="Not applicable">nnn</Value>
1103
      <Value description="No attempt to code">|||</Value>
1104
      <Value description="Unknown">                         --- </Value>
1105
    </Position>
1106
    <Position pos="21" name="Undefined" description="Undefined; contains a blank (#) or a fill character (|)."/>
1107
    <Position pos="22" name="Target audience" description="One- character alphabetic code that describes the intellectual level of the target audience for which the material is intended">
1108
      <Value description="Unknown or not specified">#</Value>
1109
      <Value description="Preschool">a</Value>
1110
      <Value description="Primary">b</Value>
1111
      <Value description="Pre-adolescent">c</Value>
1112
      <Value description="Adolescent">d</Value>
1113
      <Value description="Adult">e</Value>
1114
      <Value description="Specialized">f</Value>
1115
      <Value description="General">g</Value>
1116
      <Value description="Juvenile">j</Value>
1117
      <Value description="No attempt to code">|</Value>
1118
    </Position>
1119
    <Position pos="23-27" name="Undefined" description="Undefined; each contains a blank (#) or a fill character (|)."/>
1120
    <Position pos="28" name="Government publication" description="One-character code that indicates whether or not the item is published or produced by or for an international, national, state, provincial, or local government agency, or by any subdivision of such a body">
1121
      <Value description="Not a government publication">#</Value>
1122
      <Value description="Autonomous or semi-autonomous component">a</Value>
1123
      <Value description="Multilocal">c</Value>
1124
      <Value description="Federal / National">f</Value>
1125
      <Value description="International intergovernmental">i</Value>
1126
      <Value description="Local">l</Value>
1127
      <Value description="Multistate">m</Value>
1128
      <Value description="Government publication-level undetermined">o</Value>
1129
      <Value description="State, provincial, territorial, dependent, etc.">s</Value>
1130
      <Value description="Unknown if item is government publication">u</Value>
1131
      <Value description="Other">z</Value>
1132
      <Value description="No attempt to code">|</Value>
1133
    </Position>
1134
    <Position pos="29" name="Form of item" description="One-character alphabetic code that indicates the form of material for the item.">
1135
      <Value description="None of the following">#</Value>
1136
      <Value description="Microfilm">a</Value>
1137
      <Value description="Microfiche">b</Value>
1138
      <Value description="Microopaque">c</Value>
1139
      <Value description="Large print">d</Value>
1140
      <Value description="Braille ">f</Value>
1141
      <Value description="Online.  The resource is accessed by means of hardware and software connections to a communications network. If a distinction between types of electronic resources is not necessary, code s can be used as a generic code for any form of electronic resource.">o</Value>
1142
      <Value description="Direct electronic. Storage on a directly accessible tangible recording medium, e.g. disc, tape, playaway device, flashdrive, portable hard drive, etc. If a distinction between types of electronic resources is not necessary, code s can be used as a generic code for any form of electronic resource.">q</Value>
1143
      <Value description="Regular print reproduction">r</Value>
1144
      <Value description="Electronic. Intended for manipulation by a computer. May reside in a carrier accessed either directly or remotely, in some cases requiring the use of peripheral devices attached to the computer (e.g., a CD-ROM player). Not used for items that do not require the use of a computer (e.g., music compact discs, videodiscs). This code can be used as a generic code for any form of electronic resource. Codes o and q may be used if there is a need to separately identify online and direct electronic resources.">s</Value>
1145
      <Value description="No attempt to code">|</Value>
1146
    </Position>
1147
    <Position pos="30-32" name="Undefined" description="Undefined; each contains a blank (#) or a fill character (|)."/>
1148
    <Position pos="33" name="Type of visual material" description="One-character alphabetic code that indicates the type of visual material being described.">
1149
      <Value description="Art original ">a</Value>
1150
      <Value description="Kit.Mixture of components from two or more categories, that is, sound recording, maps, filmstrips, etc., no one of which is the predominant constituent of the item.">b</Value>
1151
      <Value description="Art reproduction">c</Value>
1152
      <Value description="Diorama ">d</Value>
1153
      <Value description="Filmstrip">f</Value>
1154
      <Value description="Game">g</Value>
1155
      <Value description="Picture">i</Value>
1156
      <Value description="Graphic">k</Value>
1157
      <Value description="Technical drawing">l</Value>
1158
      <Value description="Motion picture">m</Value>
1159
      <Value description="Chart">n</Value>
1160
      <Value description="Flash card">o</Value>
1161
      <Value description="Microscope slide">p</Value>
1162
      <Value description="Model">q</Value>
1163
      <Value description="Realia ">r</Value>
1164
      <Value description="Slide">s</Value>
1165
      <Value description="Transparency">t</Value>
1166
      <Value description="Videorecording">v</Value>
1167
      <Value description="Toy">w</Value>
1168
      <Value description="Other">z</Value>
1169
      <Value description="No attempt to code">|</Value>
1170
    </Position>
1171
    <Position pos="34" name="Technique" description="One-character alphabetic code that indicates the technique used in creating motion in motion pictures or videorecordings.">
1172
      <Value description="Animation">a</Value>
1173
      <Value description="Animation and live action">c</Value>
1174
      <Value description="Live action">l</Value>
1175
      <Value description="Not applicable">n</Value>
1176
      <Value description="Unknown">u</Value>
1177
      <Value description="Other">z</Value>
1178
      <Value description="No attempt to code">|</Value>
1179
    </Position>
1180
    <Position pos="35-37" url="http://www.loc.gov/marc/languages/language_code.html" urltext="MARC Code List for Languages" name="Language" description="">
1181
      <Value description="No information provided">###</Value>
1182
      <Value description="Multiple languages">mul</Value>
1183
      <Value description="Sign languages">sgn</Value>
1184
      <Value description="Undetermined">und</Value>
1185
      <Value description="No linguistic content">zxx</Value>
1186
      <Value description="Tree-character alphabetic code">[aaa]</Value>
1187
    </Position>
1188
    <Position pos="38" name="Modified record" description="One-character code that indicates whether any data in a bibliographic record is a modification of information that appeared on the item being cataloged or that was intended to be included in the MARC record.">
1189
      <Value description="No modified">#</Value>
1190
      <Value description="Dashed-on information omitted">d</Value>
1191
      <Value description="Completely romanized/printed cards romanized">o</Value>
1192
      <Value description="Completely romanized/printed cards in script">r</Value>
1193
      <Value description="Shortened">s</Value>
1194
      <Value description="Missing characters">x</Value>
1195
      <Value description="No attempt to code">|</Value>
1196
    </Position>
1197
    <Position pos="39" name="Cataloging source" description="">
1198
      <Value description="National bibliographic agency">#</Value>
1199
      <Value description="Cooperative cataloging program">c</Value>
1200
      <Value description="Other">d</Value>
1201
      <Value description="Unknown">u</Value>
1202
      <Value description="No attempt to code">|</Value>
1203
    </Position>
1204
  </Material>
1205
  <Material id="MX" name="Mixed Materials" description="">
1206
    <Position pos="00-05" name="Date entered on file" description=""/>
1207
    <Position pos="06" name="Type of date/ Publication status" description="">
1208
      <Value description="No dates given; B.C. date involved">b</Value>
1209
      <Value description="Continuing resource currently published">c</Value>
1210
      <Value description="Continuing resource ceased publication">d</Value>
1211
      <Value description="Detailed date">e</Value>
1212
      <Value description="Inclusive dates of colletion">i</Value>
1213
      <Value description="Range of years of bulk of collection">k</Value>
1214
      <Value description="Multiple dates">m</Value>
1215
      <Value description="Dates unknown">n</Value>
1216
      <Value description="Date of distribution/ release/ issue and production/ recording session when different">p</Value>
1217
      <Value description="Questionable date">q</Value>
1218
      <Value description="Reprint / reissue date and original date">r</Value>
1219
      <Value description="Single know date / probable date">s</Value>
1220
      <Value description="Publication date and copyright date">t</Value>
1221
      <Value description="Continuings resource status unknown">u</Value>
1222
      <Value description="No attempt to code">|</Value>
1223
    </Position>
1224
    <Position pos="07-10" name="Date 1" description="A date specified by the code in 008/06 (Type of date/ Publication status)">
1225
      <Value description="Date element is not applicable">#</Value>
1226
      <Value description="Date digit">1</Value>
1227
      <Value description="Date digit">2</Value>
1228
      <Value description="Date digit">3</Value>
1229
      <Value description="Date digit">4</Value>
1230
      <Value description="Date digit">5</Value>
1231
      <Value description="Date digit">6</Value>
1232
      <Value description="Date digit">7</Value>
1233
      <Value description="Date digit">8</Value>
1234
      <Value description="Date digit">9</Value>
1235
      <Value description="Date element is totally or partially unknown">u</Value>
1236
      <Value description="No attempt to code">||||</Value>
1237
    </Position>
1238
    <Position pos="11-14" name="Date 2" description="A date specified by the code in 008/06 (Type of date/ Publication status)">
1239
      <Value description="Date element is not applicable">#</Value>
1240
      <Value description="Date digit">1</Value>
1241
      <Value description="Date digit">2</Value>
1242
      <Value description="Date digit">3</Value>
1243
      <Value description="Date digit">4</Value>
1244
      <Value description="Date digit">5</Value>
1245
      <Value description="Date digit">6</Value>
1246
      <Value description="Date digit">7</Value>
1247
      <Value description="Date digit">8</Value>
1248
      <Value description="Date digit">9</Value>
1249
      <Value description="Date element is totally or partially unknown">u</Value>
1250
      <Value description="No attempt to code">||||</Value>
1251
    </Position>
1252
    <Position pos="15-17" url="http://www.loc.gov/marc/countries/countries_code.html" urltext="MARC Code List for Countries" name="Place of publication, production, or execution" description="">
1253
      <Value description="Various places">vp# </Value>
1254
      <Value description="No place, unknown, or undetermined">xx#</Value>
1255
      <Value description="Two-character alphabetic code">[aa#]</Value>
1256
      <Value description="Three-character alphabetic code">[aaa]</Value>
1257
    </Position>
1258
    <Position pos="18-22" name="Undefined" description="Undefined; each contains a blank (#) or a fill character (|)."/>
1259
    <Position pos="23" name="Form of item" description="One-character alphabetic code that specifies the form of material for the item being described">
1260
      <Value description="None of the following">#</Value>
1261
      <Value description="Microfilm">a</Value>
1262
      <Value description="Microfiche">b</Value>
1263
      <Value description="Microopaque">c</Value>
1264
      <Value description="Large print">d</Value>
1265
      <Value description="Braille ">f</Value>
1266
      <Value description="Online.  The resource is accessed by means of hardware and software connections to a communications network. If a distinction between types of electronic resources is not necessary, code s can be used as a generic code for any form of electronic resource.">o</Value>
1267
      <Value description="Direct electronic">q</Value>
1268
      <Value description="Regular print reproduction">r</Value>
1269
      <Value description="Electronic. Intended for manipulation by a computer. May reside in a carrier accessed either directly or remotely, in some cases requiring the use of peripheral devices attached to the computer (e.g., a CD-ROM player). Not used for items that do not requi">s</Value>
1270
      <Value description="No attempt to code">|</Value>
1271
    </Position>
1272
    <Position pos="24-34" name="Undefined" description="Undefined; each contains a blank (#) or a fill character (|)."/>
1273
    <Position pos="35-37" url="http://www.loc.gov/marc/languages/language_code.html" urltext="MARC Code List for Languages" name="Language" description="">
1274
      <Value description="No information provided">###</Value>
1275
      <Value description="Multiple languages">mul</Value>
1276
      <Value description="Sign languages">sgn</Value>
1277
      <Value description="Undetermined">und</Value>
1278
      <Value description="No linguistic content">zxx</Value>
1279
      <Value description="Tree-character alphabetic code">[aaa]</Value>
1280
    </Position>
1281
    <Position pos="38" name="Modified record" description="One-character code that indicates whether any data in a bibliographic record is a modification of information that appeared on the item being cataloged or that was intended to be included in the MARC record.">
1282
      <Value description="No modified">#</Value>
1283
      <Value description="Dashed-on information omitted">d</Value>
1284
      <Value description="Completely romanized/printed cards romanized">o</Value>
1285
      <Value description="Completely romanized/printed cards in script">r</Value>
1286
      <Value description="Shortened">s</Value>
1287
      <Value description="Missing characters">x</Value>
1288
      <Value description="No attempt to code">|</Value>
1289
    </Position>
1290
    <Position pos="39" name="Cataloging source" description="">
1291
      <Value description="National bibliographic agency">#</Value>
1292
      <Value description="Cooperative cataloging program">c</Value>
1293
      <Value description="Other">d</Value>
1294
      <Value description="Unknown">u</Value>
1295
      <Value description="No attempt to code">|</Value>
1296
    </Position>
1297
  </Material>
1298
</Tagfield>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_CF.xsd (+83 lines)
Line 0 Link Here
1
<?xml version="1.0"?>
2
<xs:schema xmlns="http://koha-community.org" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://koha-community.org" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.1">
3
  <xs:annotation>
4
    <xs:documentation>Control Field Plugin Type of Materials schema</xs:documentation>
5
  </xs:annotation>
6
7
8
  <xs:element name="Tagfield" type="TagfieldType" nillable="false">
9
    <xs:annotation>
10
      <xs:documentation>Element indicating the control field</xs:documentation>
11
    </xs:annotation>
12
  </xs:element>
13
14
15
  <xs:complexType name="TagfieldType">
16
    <xs:sequence minOccurs="1" maxOccurs="unbounded">
17
      <xs:element name="Material" type="MaterialType"/>
18
    </xs:sequence>
19
    <xs:attribute name="tag" type="controltagDataType" use="required"/>
20
  </xs:complexType>
21
22
23
  <xs:simpleType name="controltagDataType">
24
    <xs:restriction base="xs:string">
25
      <xs:whiteSpace value="collapse"/>
26
      <xs:pattern value="00[1-9A-Za-z]{1}"/>
27
    </xs:restriction>
28
  </xs:simpleType>
29
30
31
  <xs:complexType name="MaterialType">
32
    <xs:sequence minOccurs="1" maxOccurs="unbounded">
33
      <xs:element name="Position" type="PositionType"/>
34
    </xs:sequence>
35
    <xs:attribute name="id" type="idDataType" use="required"/>
36
    <xs:attribute name="name" type="xs:string" use="required"/>
37
    <xs:attribute name="description" type="xs:string" use="required"/>
38
  </xs:complexType>
39
40
41
  <xs:simpleType name="idDataType">
42
    <xs:restriction base="xs:string">
43
      <xs:whiteSpace value="collapse"/>
44
      <xs:enumeration value="BKS"/>
45
      <xs:enumeration value="CF"/>
46
      <xs:enumeration value="MP"/>
47
      <xs:enumeration value="MU"/>
48
      <xs:enumeration value="CR"/>
49
      <xs:enumeration value="VM"/>
50
      <xs:enumeration value="MX"/>
51
    </xs:restriction>
52
  </xs:simpleType>
53
54
55
  <xs:complexType name="PositionType">
56
    <xs:sequence minOccurs="0" maxOccurs="unbounded">
57
      <xs:element name="Value" type="ValueType"/>
58
    </xs:sequence>
59
    <xs:attribute name="pos" type="posDataType" use="required"/>
60
    <xs:attribute name="url" type="xs:anyURI" use="optional"/>
61
    <xs:attribute name="urltext" type="xs:string" use="optional"/>
62
    <xs:attribute name="name" type="xs:string" use="required"/>
63
    <xs:attribute name="description" type="xs:string" use="required"/>
64
  </xs:complexType>
65
66
67
  <xs:simpleType name="posDataType">
68
    <xs:restriction base="xs:string">
69
      <xs:whiteSpace value="collapse"/>
70
      <xs:pattern value="[0-9]+(-[0-9]+)?"/>
71
    </xs:restriction>
72
  </xs:simpleType>
73
74
75
  <xs:complexType name="ValueType">
76
    <xs:simpleContent>
77
      <xs:extension base="xs:string">
78
        <xs:attribute name="description" type="xs:string" />
79
      </xs:extension>
80
    </xs:simpleContent>
81
  </xs:complexType>
82
83
</xs:schema>

Return to bug 3013