@Override
	public String valueOf(Object context) throws JDOMException {
		try {
			navigator.setContext(context);

			return xPath.stringValueOf(context);
		} catch (JaxenException ex1) {
			throw new JDOMException(
					"XPath error while evaluating \"" + xPath.toString()
							+ "\": " + ex1.getMessage(), ex1);
		}
    finally {
			navigator.reset();
		}
	}
@Override
	public String valueOf(Object context)