alternatively, if you have specific requirements against the tree that you
want to get out of this, you could also take the BPEL EMF model (available
from the BPEL Designer Project). I parses a BPEL XML into an EMF in-memory
model, and then you can write a "translation" yourself to whatever tree
format you need. However, I agree with Milinda, if what you are looking for
is an abstract syntax tree like in any modern compiler, you can probably go
with the ODE BPEL compiler (but no one on this mailing list is probably
familiar enough with this thing, so it's really the best option to repeat
this question on the ODE mailing list).