R/gifti_xml_tools.R
giftixml_add_labeltable_from_annot.Rd
Computes the LabelTable XML node for the given annotation and adds it to the XML tree.
giftixml_add_labeltable_from_annot(xmltree, annot)
xmltree | an XML tree from xml2, typically the return value from |
---|---|
annot | an fs.annotation, the included data will be used to compute the LabelTable node |
XML tree from xml2, the modified tree with the LabelTable added below the root node.