String selector = SelectorUtil.tag(ExtNodeConstants.MSG_NODE_TAG);
List<Element> msgElems = target.select(selector);
for (Element msgElem : msgElems) {
Attributes attributes = msgElem.attributes();
if (!attributes.hasKey(ExtNodeConstants.MSG_NODE_ATTR_KEY)) {
InvalidMessageException ex = new InvalidMessageException(ExtNodeConstants.MSG_NODE_TAG + " tag must have key attribute.");
logger.error("", ex);
continue;
}
String key = attributes.get(ExtNodeConstants.MSG_NODE_ATTR_KEY);
List<String> externalizeParamKeys = getExternalizeParamKeys(attributes);