A literature reference for a clade. It is recommended to use the 'doi' attribute instead of the free text 'desc' element whenever possible.
Converts elements to xml representation. Called by PhyloXML::Writer class.
# File lib/bio/db/phyloxml/phyloxml_elements.rb, line 986 def to_xml ref = LibXML::XML::Node.new('reference') Writer.generate_xml(ref, self, [ [:attr, 'doi'], [:simple, 'desc', @desc]]) return ref end
Generated with the Darkfish Rdoc Generator 2.