Re: Problem with SAX parser
Removed from http://www.java-forums.org/jpa/62321...nce-issue.html
Don't hijack another poster's thread.
db
Re: Problem with SAX parser
Also, don't double post. Your other thread hijack post has been deleted.
Please go through the Forum Rules.
db
Re: Problem with SAX parser
Something like the below !
private boolean edge=false;
public void start element(){
if(qname.equalsIgnorecase("edge"){
edge=true
}
}
public void endElement(){
if(edge){
if(qName.equalsIgnoreCase("edge"){
//put your code here
}
}
edge=false
}
Also one to note that all attributes are only called in the start element and not in the end element
Re: Problem with SAX parser