code: private PatternElement parseNamedElement(Node el, Map<String, Scope> scopes) {
          PatternElement namedElement;
          if (
                  nodeAttribute(el, TAG_VAR_ATTR_PARSE, DEFAULT_PARSE_VALUE)
                          && !nodeHasAttribute(el, TAG_VAR_ATTR_REGEX)
                          && !nodeHasAttribute(el, TAG_VAR_ATTR_ACTION)
                  ) {
              namedElement = parseText(el, scopes);
          } else {
              namedElement = parseVariable(el);
          }
          return namedElement;
      }
docs: Parse a pattern named element. Text or Variable.
  
  @param el     a DOM-element
  @param scopes map of scopes by name
  @return Text or Variable