between ontologies in the same file during XML generation
svn path=/; revision=359
ENCODING => 'utf-8'
);
+ # clear the $curr_ontology_type var
+ $curr_ontology_type = "";
+
# create root elements
$writer->xmlDecl;
$writer->startTag("Pages");
foreach my $ont_term (keys %{$annotations{$annotation}{"Ontological References"}})
{
+ # determine current ontology
+ $curr_ontology_type = (split(':',$ont_term))[0];
+
# gather PMID's for separate Ref Publication page creation (avoid dupes)
if (scalar keys (%{$annotations{$annotation}{"Ontological References"}{$ont_term}{"Publications"}}) > 0) {
foreach my $pub_term (keys %{$annotations{$annotation}{"Ontological References"}{$ont_term}{"Publications"}})