Hi All,

I am struggling to parse a XML file that describes a tree. The XML file is
present here:
http://www.emouseatlas.org/emap/ema/theiler_stages/StageDefinition/Stage_xml/TS23.xml
I want is simple list of parents id of each component. The output will look
like
Component = [7148  7149   7150   7151..... 7177..............]
Parents=        [NA       7148   7149  7150....  7148..............]
I meant if components are arranged from 7148 to 8419, I need their parents
id.

I hope this is clear.
thanks
avi

	[[alternative HTML version deleted]]

