/* * Copyright (c) 2001, DecisionSoft Limited All rights reserved. * Please see LICENSE.TXT for more information. */ #ifndef _FUNCTIONRESOLVEURI_HPP #define _FUNCTIONRESOLVEURI_HPP #include #include #include #include #include /*** * Returns an absolute anyURI given a base URI and a relative URI. * * fn:resolve-uri(anyURI $relative) => anyURI * fn:resolve-uri(anyURI $relative, anyURI $base) => anyURI */ class PATHAN_EXPORT FunctionResolveURI : public ConstantFoldingFunction { public: static const XMLCh name[]; FunctionResolveURI(const VectorOfDataItems &args, XPath2MemoryManager* memMgr); /** * Returns an absolute anyURI given a base URI and a relative URI. **/ Sequence collapseTreeInternal(DynamicContext* context, int flags=0) const; }; #endif // _FUNCTIONRESOLVEURI_HPP