[LON-CAPA-cvs] cvs: nsdl /prototypes metadata_convert.pl
harris41
lon-capa-cvs@mail.lon-capa.org
Sat, 11 May 2002 21:04:27 -0000
harris41 Sat May 11 17:04:27 2002 EDT
Modified files:
/nsdl/prototypes metadata_convert.pl
Log:
working with full and proper dublin core name space inside top-level tag
Index: nsdl/prototypes/metadata_convert.pl
diff -u nsdl/prototypes/metadata_convert.pl:1.2 nsdl/prototypes/metadata_convert.pl:1.3
--- nsdl/prototypes/metadata_convert.pl:1.2 Sat May 11 16:20:32 2002
+++ nsdl/prototypes/metadata_convert.pl Sat May 11 17:04:27 2002
@@ -44,12 +44,13 @@
#http://www.dlib.vt.edu/projects/OAi/marcxml/marcxml.html
#http://www.openarchives.org/OAI/openarchivesprotocol.html
# ">
-# xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-# xsi:schemaLocation="http://purl.org/dc/elements/1.1
-# http://www.openarchives.org/OAI/1.1/dc.xsd">
+
my $NSDL_metadata1=(<<END);
<?xml version="1.0"?>
-<dc xmlns="http://purl.org/dc/elements/1.1/">
+<dc xmlns="http://purl.org/dc/elements/1.1/"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://purl.org/dc/elements/1.1
+ http://www.openarchives.org/OAI/1.1/dc.xsd">
<title>The Cornell Law Quarterly</title>
<date>1915-1916</date>
<identifier>http://heinonline.org/HeinOnline/show.pl?