if(obj instanceof Item)
if(obj instanceof Sequence)
	private String getSessionAttribute(HttpSession session, String attribute) {		Object obj = session.getAttribute(attribute);		if(obj == null)			return null;		if(obj instanceof Item)			try {				return ((Item)obj).getStringValue();			} catch (XPathException e) {				return null;			}		return obj.toString();	}