-%# $Id: full.mc,v 1.10 2006-11-06 17:24:00 mike Exp $
+%# $Id: full.mc,v 1.11 2006-11-06 17:34:58 mike Exp $
<%args>
$id
</%args>
[ "Bib-1 Use attributes" => \&calc_ap, $xc, "bib-1" ],
[ "Dan-1 Use attributes" => \&calc_ap, $xc, "dan-1" ],
[ "Operators" => \&calc_boolean, $xc ],
- [ "Record syntaxes" => sub { "### SUTRS, USmarc, Danmarc" } ],
+ [ "Record syntaxes" => \&calc_recsyn, $xc ],
[ "Explain" => sub { "### CategoryList, TargetInfo, DatabaseInfo, RecordSyntaxInfo, AttributeSetInfo, AttributeDetails" } ],
);
</%perl>
return join(", ", map { $_->findvalue('@operator') } @nodes);
}
+sub calc_recsyn {
+ my($xc) = @_;
+
+ my @nodes = $xc->findnodes('e:recordInfo/e:recordSyntax');
+ return join(", ", map { $_->findvalue('@name') } @nodes);
+}
+
</%perl>