25#include <com/sun/star/xml/dom/XNode.hpp>
26#include <com/sun/star/xml/dom/XNodeList.hpp>
27#include <com/sun/star/xml/xpath/XXPathObject.hpp>
28#include <osl/diagnose.h>
34using com::sun::star::xml::dom::XNode;
35using com::sun::star::xml::dom::XNodeList;
88 OSL_ENSURE( xNodeList.is(),
"empty object (instead of empty list)" );
89 sal_Int32
nLength = xNodeList.is() ? xNodeList->getLength() : 0;
91 maNodes.push_back( xNodeList->item(
n ) );
define the context for the evaluation of an XPath expression