Can some one give a hint to how to deal about multi more than one level?
<A>
<B>1<B>
<C>
<D>2</D>
<E>3</E>
</C>
</A>
A has (B and C)
B has none
C has D and E
User Profile
Collapse
-
HELP... XML null value with Java
How to deal about null value in XML value using JAVA, I mean that if the the value is null or empty I want to print NULL.
Is there a method or way to do that?? -
Java ArrayList printing the index twice
I assigned a string by for loop to an arrayList but when printing the result it will print each index twice, I solve this problem by modifying for loop to increase by.
for (int i = 0, i< x.getLength() ;i++)
{
Node child = children.item(i );
{
name = child.getNodeNa me()
}
myArrayList.add (name)
}
for (int s = 0, s< x myArrayList.siz e() ;s = s + 2 )
System.out.prin tln(myArrayList (y));...
No activity results to display
Show More