Commit 350c547d authored by Christopher Reis's avatar Christopher Reis

Half commit

parent 365b21f4
...@@ -139,7 +139,7 @@ public class SatelliteXMLDB{ ...@@ -139,7 +139,7 @@ public class SatelliteXMLDB{
StartElement startElement = event.asStartElement(); StartElement startElement = event.asStartElement();
String qName = startElement.getName().getLocalPart(); String qName = startElement.getName().getLocalPart();
if (qName.equalsIgnoreCase("student")) { if (qName.equalsIgnoreCase("SatelliteDB")) {
Iterator<Attribute> attributes = startElement.getAttributes(); Iterator<Attribute> attributes = startElement.getAttributes();
String rollNo = attributes.next().getValue(); String rollNo = attributes.next().getValue();
if(rollNo.equalsIgnoreCase("393")){ if(rollNo.equalsIgnoreCase("393")){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment