changeset 43:27f273329930

fixed wrong placement of access-conditions tag
author casties
date Mon, 11 Dec 2006 19:07:43 +0100
parents 8ae4896265e8
children af4323868086
files makemeta-lib.pl
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/makemeta-lib.pl	Thu Jun 29 09:42:46 2006 +0200
+++ b/makemeta-lib.pl	Mon Dec 11 19:07:43 2006 +0100
@@ -10,7 +10,7 @@
 $|=1;
 
 # program version
-my $version = "0.2.5 (9.6.2006 ROC)";
+my $version = "0.2.6 (11.12.2006 ROC)";
 my $help = 
 "use: makemeta-lib [options] file.xml
 options:
@@ -475,9 +475,9 @@
     # access
     if ($access_type) {
 	if ($access_type eq "free") {
-	    create_element_path('access-conditions/access@type=free', $index_root, $namespace);
+	    create_element_path('meta/access-conditions/access@type=free', $index_root, $namespace);
 	} else {
-	    my $acc_tag = create_element_path('access-conditions/access@type=institution', $index_root, $namespace);
+	    my $acc_tag = create_element_path('meta/access-conditions/access@type=institution', $index_root, $namespace);
 	    create_text_path('name', $access_type, $acc_tag, $namespace);
 	}
     }