[Biojava-dev] help with ids in stax
Michael L. Heuer
heuermh@acm.org
Tue, 10 Sep 2002 11:21:59 -0400 (EDT)
Hello Matthew,
I just took a look at the updates to the stax project on sourceforge -- I
like the changes, especially the DispatchOnChild and DispatchOnElement
helper classes. Nice work.
I can't quite figure out how to use the ID mapping feature, however.
Consider this example
<result>
<protein id="0" name="protein0" />
<protein id="1" name="protein1" />
<similarity score="1E-50">
<protein_ref id="0" />
<protein_ref id="1" />
</similarity>
</result>
Could you or Thomas provide a quick solution to this example, or instead
point me to some existing code that uses the new ID mapping feature?
Thank you in advance,
michael