XSLT xslt = new XSLT(this);
xslt.setXML(doc);
xslt.setXSL(sslLocation, runtimeData.getBrowserInfo());
xslt.setTarget(out);
xslt.setStylesheetParameter("baseActionURL", runtimeData.getBaseActionURL());
<BUG>if (staticData.getPerson().isGuest()) {
xslt.setStylesheetParameter("guest", "true");
</BUG>
}
xslt.transform();

XSLT xslt = new XSLT(this);
xslt.setXML(doc);
xslt.setXSL(sslLocation, runtimeData.getBrowserInfo());
xslt.setTarget(out);
xslt.setStylesheetParameter("baseActionURL", runtimeData.getBaseActionURL());
if (!staticData.getPerson().getSecurityContext().isAuthenticated()) {
xslt.setStylesheetParameter("unauthenticated", "true");
}
xslt.transform();
