You are here

function geotaxonomy_taxonomy_xml_rdf_document_setup in Taxonomy import/export via XML 6.2

Add the expected namespaces to the root of the document during construction.

File

includes/taxonomy_xml.geotaxonomy.inc, line 67
Support for geotaxonomy data when importing or exporting terms

Code

function geotaxonomy_taxonomy_xml_rdf_document_setup($domcontainer) {
  taxonomy_xml_rdf_add_namespace($domcontainer, TAXONOMY_XML_GEO_NS, 'geo');
  taxonomy_xml_rdf_add_namespace($domcontainer, TAXONOMY_XML_KML_NS, 'kml');
}