Skip to main content

Table 2 Seahawk data rule format: XPath expressions. XPath-based rule for creating a basic MOBY-S Gene Ontology record from a DOM data source, in this case an AGAVE XML document. The DOM context node for the XPath evaluation is determined by the application.

From: Seahawk: moving beyond HTML in Web-based bioinformatics analysis

<prefix value="agave"></prefix>
<!-- Build a MOBY Object in the Gene Ontology namespace-->
   <!-- Find gene elements w/GO classification children-->
   <xpath>self::agave:gene//agave:classification [@system='GO']</xpath>
      <!-- Find the ID attribute of the above xpath result-->
      <ns value="GO">./@id</ns>