for (int j = 0; j < elem.getChildCount(); j++) {
Object child2 = elem.getChild(j);
if (child2 instanceof Element) {
Element elem2 = (Element) child2;
if (elem2.getName().equals("rtept")) {
RouteDirection d = new RouteDirection();
for (int k = 0; k < elem2.getChildCount(); k++) {
Object child3 = elem2.getChild(k);
if (child3 instanceof Element) {
Element elem3 = (Element) child3;
if (elem3.getName().equals("desc")) {