Lincoln D. Stein > GBrowse-2.54 > MobyServices::text_xml_renderer



Annotate this POD


New  5
Open  1
View/Report Bugs
Source   Latest Release: GBrowse-2.55

NAME ^ - a renderer (HTML) for text_xml type MOBY Objects


Please report all bugs to Mark Wilkinson (markw at




This renderer returns HTML that fits between the <td> tags in a web-page to display the content of a text_xml (or ontological child of) object.

Without the renderer your browser will ignore the tags which are not part of the HTML specification. In consequence the xml document structure, element names and attributes/values will be invisible in the result output - which is probably not what you would expect...


The module has two methods:





1) $data - an XML::LibXML object representing the deserialized MOBY object
 e.g. /usr/local/apache/htdocs/
 (this is the HTDOCS parameter you specified
  when you installed Gbrowse)
 e.g. /gbrowse/tmp
 (this is the folder specified in the tmpimages parameter
  in your organism.conf file)


The subroutine should return two pieces of data:

1) An HTML representation of the Object
 '0' indicates that you need Gbrowse to follow child objects
     and render them independently
syntax highlighting: