* @return Value
*/
public static String applyXPath(Document aDocument, String aXPathExpression)
{
// Create an XPath evaluator and pass in the document.
XPathEvaluator tEvaluator = new XPathEvaluatorImpl(aDocument);
//XPathNSResolver tResolver = tEvaluator.createNSResolver(aDocument);
// Evaluate the xpath expression
XPathResult tResult = (XPathResult)tEvaluator.evaluate(aXPathExpression,
aDocument, // contextNode
null/*tResolver*/, // support Namespace in XPath expressions
XPathResult.STRING_TYPE, // type of returned result
null); // construct a new result object (no reuse)