docs: public void parse(Document document) {
          responsePayLoad = document.getDocumentElement();
          status = responsePayLoad.getAttribute("stat");
          if ("ok".equals(status)) {
              Element photoIdElement = (Element) responsePayLoad.getElementsByTagName("photoid").item(0);
              if (photoIdElement != null) {
                  photoId = ((Text) photoIdElement.getFirstChild()).getData();
              } else {
                  photoId = null;
              }
              Element ticketIdElement = (Element) responsePayLoad.getElementsByTagName("ticketid").item(0);
              if (ticketIdElement != null) {
                  ticketId = ((Text) ticketIdElement.getFirstChild()).getData();
              } else {
                  ticketId = null;
              }
          } else {
              Element errElement = (Element) responsePayLoad.getElementsByTagName("err").item(0);
              errorCode = errElement.getAttribute("code");
              errorMessage = errElement.getAttribute("msg");
          }
      }