private function xml_back($article) { if ($this->xml_acknoledgements($article) || $this->xml_appendices($article) || anno_xml_references($article->ID)) { $xml_back = ' <back> ' . $this->xml_acknoledgements($article) . ' ' . $this->xml_appendices($article) . ' ' . anno_xml_references($article->ID) . ' </back> ' . $this->xml_responses($article) . ' </article>'; } else { $xml_back = $this->xml_responses($article) . ' </article>'; } return $xml_back; }
function anno_validation_prep_body($content, $post_id = 0) { $references = anno_xml_references($post_id); return '<body>' . $content . $references . '</body>'; }