java - Checking if parent node has specific child -
i need find parents in xml file contain specific tag, , need parse strings parents , children java object, or array (could use advice on best way store xml info strings).
<task> <task id=483492> <project id=484383> <date>2003/23/03</date> <name> project name example </name> </task> <task> <task id=483492> <name> task name example </name> </task> <task> <task id=483492> <project id=484383> <date>2003/23/03</date> <name> project name example </name> </task> <task> <task id=483492> <project id=484383> <date>2003/23/03</date> <name> project name example </name> </task> <task> <task id=483492> <name> task name example </name> </task>
so, if <task>
parent has <project>
child, need put data each <task>
's children kind of list/array/object.
thanks in advance everyone.
Comments
Post a Comment