Please find a good example at the foll link. Also find more examples from the Sun XML link from a previous post by rahul. Hope this helps. Regds. - satya
Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81