private Object handleCont(Object tos, boolean insertNewLine) throws SAXException {
      FieldRef fieldRef;
      if (tos instanceof FieldRef) {
         fieldRef = (FieldRef)tos;
      }
      else {
         fieldRef = new FieldRef(tos, "Value");
      }

      if (insertNewLine) {
         try {
            fieldRef.appendValue("\n");
         } catch (NoSuchMethodException e) {
            SAXParseException exception = new SAXParseException("value not stored for: "+joinTagStack(), locator);
            error(exception);
         }
      }
      return fieldRef;
   }