streamlining xml and node parsing methods