code: private String getXMLVersion()
      {
          String xmlVersion = getVersion();
          if(xmlVersion == null || xmlVersion.equals(XMLVERSION10))
          {
              xmlVersion = XMLVERSION10;
          }
          else if(xmlVersion.equals(XMLVERSION11))
          {
              xmlVersion = XMLVERSION11;
          }
          else
          {
              String msg = Utils.messages.createMessage(
                                 MsgKey.ER_XML_VERSION_NOT_SUPPORTED,new Object[]{ xmlVersion });
              try 
              {
                  // Prepare to issue the warning message
                  Transformer tran = super.getTransformer();
                  ErrorListener errHandler = tran.getErrorListener();
                  // Issue the warning message
                  if (null != errHandler && m_sourceLocator != null)
                      errHandler.warning(new TransformerException(msg, m_sourceLocator));
                  else
                      System.out.println(msg);
              }
              catch (Exception e){}
              xmlVersion = XMLVERSION10;								
          }
          return xmlVersion;
      }
docs: This method checks for the XML version of output document.
  If XML version of output document is not specified, then output
  document is of version XML 1.0.
  If XML version of output doucment is specified, but it is not either
  XML 1.0 or XML 1.1, a warning message is generated, the XML Version of
  output document is set to XML 1.0 and processing continues.
  @return string (XML version)