Hw to extract sub tags

<main><sub> .......blah........blah......</sub></main>how can i obtain the sub tag from the main tag in xml for java. Thank U
[198 byte] By [Reply_mea] at [2007-11-26 21:02:53]
# 1
use DOM parser method...getElementsByTagName()
ksantoshkrishnaa at 2007-7-10 2:35:10 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...