/* * Copyright (c) 2001, DecisionSoft Limited All rights reserved. * Please see LICENSE.TXT for more information. */ /* xf:remove(item* $target, decimal $position) => item* */ #ifndef _FUNCTIONREMOVE_HPP #define _FUNCTIONREMOVE_HPP #include #include class PATHAN_EXPORT FunctionRemove : public ConstantFoldingFunction { public: static const XMLCh name[]; ///Constructor. Sets arg def to NOT_OPTIONAL. FunctionRemove(const VectorOfDataItems &args, XPath2MemoryManager* memMgr); /** Returns the number of nodes in the nodelist argument. **/ Sequence collapseTreeInternal(DynamicContext* context, int flags=0) const; }; #endif // _FUNCTIONREMOVE_HPP