Base class for dynamic contexts that are created from an existing one.
A DynamicContext that maintains the focus, a sequence of items.
CurrentItemContext(const Item &item, const DynamicContext::Ptr &prevContext)
virtual Item currentItem() const
Returns the item that fn:current() returns.