Hi Iain,
Yes, we have castor generated code for dealing with PSI-MI XML as
part of our data services library, which we keep separate from cPath so
that it can be used in other projects (e.g. Cytoscape). It is also
open-source, but we haven't posted it on the web yet. Ethan did the
castor mapping, which required some special castor configuration options
and some tweaks to the generated code to avoid name clashes, etc. I
temporarily posted the code here:
http://www.cbio.mskcc.org/~bader/pub/personal/soft/
but we'll work to get it up on a real website. Let us know if you have
any problems with the code.
You might be generally interested in the data service code, which
currently supports PSI-MI level 1, but will be eventually expanded to be
a general interface to other PSI-MI levels and BioPAX.
Best,
Gary