transformer.setParameter("servlet-RemoteAddr", null, new XString(request.getRemoteAddr()));
transformer.setParameter("servlet-RemoteAddr", new XString(request.getRemoteAddr()));
  public void setStylesheetParams(Transformer transformer, HttpServletRequest request)  {    Enumeration paramNames = request.getParameterNames();    while (paramNames.hasMoreElements())    {      String paramName = (String) paramNames.nextElement();      try      {        String[] paramVals = request.getParameterValues(paramName);        if (paramVals != null)            transformer.setParameter(paramName, null,                                            new XString(paramVals[0]));      }      catch (Exception e)      {      }    }    try    {      transformer.setParameter("servlet-RemoteAddr", null,                                      new XString(request.getRemoteAddr()));    }    catch (Exception e)    {    }    try    {      transformer.setParameter("servlet-RemoteHost", null,                                      new XString(request.getRemoteHost()));    }    catch (Exception e)    {    }    try    {      transformer.setParameter("servlet-RemoteUser", null,                                      new XString(request.getRemoteUser()));    }    catch (Exception e)    {    }  }