code: public static List<String> retrieveDestinationElements(Element element) {
          List<String> destinations = new ArrayList<String>();
          NodeList elementsByTagName = element.getElementsByTagNameNS("*", "destination");
          for (int i = 0; i < elementsByTagName.getLength(); i++) {
              destinations.add(elementsByTagName.item(i).getChildNodes().item(0).getNodeValue());
          }
          return destinations;
      }
docs: <p>retrieveDestinationElements.</p>
  
  @param element a {@link org.w3c.dom.Element} object.
  @return a {@link java.util.List} object.