/*      */   protected XMLElement getChildRecursive(String[] items, int offset)
/*      */   {
/*  587 */     if (Character.isDigit(items[offset].charAt(0))) {
/*  588 */       XMLElement kid = getChild(Integer.parseInt(items[offset]));
/*  589 */       if (offset == items.length - 1) {
/*  590 */         return kid;
/*      */       }
/*  592 */       return kid.getChildRecursive(items, offset + 1);
/*      */     }
/*      */     
/*  595 */     int childCount = getChildCount();
/*  596 */     for (int i = 0; i < childCount; i++) {
/*  597 */       XMLElement kid = getChild(i);
/*  598 */       String kidName = kid.getName();
/*  599 */       if ((kidName != null) && (kidName.equals(items[offset]))) {
/*  600 */         if (offset == items.length - 1) {
/*  601 */           return kid;
/*      */         }
/*  603 */         return kid.getChildRecursive(items, offset + 1);
/*      */       }
/*      */     }
/*      */     
/*  607 */     return null;
/*      */   }