/* * Copyright (c) 2001, DecisionSoft Limited All rights reserved. * Please see LICENSE.TXT for more information. */ /* * fn:local-name-from-QName function */ #ifndef _FUNCTIONGETLOCALNAMEFROMQNAME_HPP #define _FUNCTIONGETLOCALNAMEFROMQNAME_HPP #include #include #include /** Name function */ class PATHAN_EXPORT FunctionLocalNameFromQName : public ConstantFoldingFunction { public: static const XMLCh name[]; FunctionLocalNameFromQName(const VectorOfDataItems &args, XPath2MemoryManager* memMgr); /** Returns the local-name part of a QName, eg for foo:bar it returns bar */ Sequence collapseTreeInternal(DynamicContext* context, int flags=0) const; }; #endif // _FUNCTIONGETLOCALNAMEFROMQNAME_HPP