— the global portal for all things SBML


Attribute annotations

We thought about introducing the following two elements which will enable us to refer to attributes inside an XML element. Building on that we can then define annotations for attributes.


 <compartment metaid=”c1” name=”cell” size=”3” />
   <rdf:RDF xmlns:rdf="">
    <rdf:Description rdf:about="#c1">
       <rdf:li rdf:resource="urn:miriam:obo.go:GO%3A0031594"/>
    <rdf:Description rdf:about="#c1.size">
       <rdf:li rdf:resource="urn:miriam:pubmed:12343565"/>


It may be that we don't need to, in practice, annotate the attribute itself rather than the attribute value. We don't anticipate that there will be a situation where the attribute and value will be annotated separately, so the same annotation style can be used for both.

We also discussed using XPath (//[@metaid='c1']/@size) to reference attributes, but it was decided that XPath wasn't necessary, and it was simpler to just use the extension of the current way of referencing an element metaid within the RDF.

Retrieved from ""

This page was last modified 13:49, 20 May 2010.

Please use our issue tracking system for any questions or suggestions about this website. This page was last modified 13:49, 20 May 2010.