VelocityEngine ve = VelocityUtil.getEngine();
ve.getTemplate("/" + location + "/" + pageIdent + "." + VELOCITY_HTMLPAGE_EXTENSION).merge(context, sw);
ITextRenderer renderer = new ITextRenderer();
DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();
documentBuilderFactory.setValidating(false);
DocumentBuilder builder = documentBuilderFactory.newDocumentBuilder();
builder.setEntityResolver(new DTDResolver());
String s = sw.toString();
s = escapeEspecialCharacter(s);
s = processCSSPath(s, host, "css", "\\(", "\\)", ")", url);