I am trying to get my sltag
value but I got some errors in my code. Please help me solve this error.
I have one XML file. I want to display that XML file node value one spinner and child node value value one tab etc... so I am using a SAX parser.
error lines
public ArrayList<Subchild> getSLTag() {
ArrayList<String> SLTag = new ArrayList <Sting>();
for(int i = 0; i<xmlTagInfo.size(); i++);
SLTag.add(xmlTagInfo.get(i).sltag);
}
2nd and 4th line error error is
Multiple markers at this line
- Sting cannot be resolved to a type
- ArrayList cannot be resolved to a type
i cannot be resolved