Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
P6R::p6IDOMNodesetSort Interface Referenceabstract

#include <p6domnodesetsort.h>

Inherits P6R::p6ICom.

Public Member Functions

virtual P6R::P6INT32 addref ()=0
 
virtual P6R::P6ERR distinctNodes ()=0
 
virtual P6R::P6ERR distinctValues ()=0
 
virtual P6R::P6ERR documentOrder ()=0
 
virtual P6R::P6ERR getMaximumEntry (p6IXMLNode **pNode)=0
 
virtual P6R::P6ERR getMinimumEntry (p6IXMLNode **pNode)=0
 
virtual P6R::P6ERR queryInterface (const P6R::IID &iid, P6R::P6VOID **ppIface)=0
 
virtual P6R::P6INT32 release ()=0
 
virtual P6R::P6ERR reverseOrder ()=0
 
virtual P6R::P6ERR setLanguageProperties (const P6CHAR *pLang, const P6CHAR *pCollate)=0
 
virtual P6R::P6ERR sortByExpression (p6IDOMXML *pXMLTree, P6DOMNODE_SORT type, p6IXpathExpression *pExp)=0
 

Detailed Description

Supports the sorting of a node set by an XPath expression of the following types: numeric, string, time, P6FLOAT, and P6INT64.

This is used in support of the XSLT sorting feature. To get this interface the caller must do a queryInterface on the p6IDOMNodeset of an existing node set component. As a code example:

* p6IDOMNodeset* pSet;
* p6IDOMNodesetSort* pSort;
*
* if (P6SUCCEEDED( err = pSet->queryInterface( VALIDATEIF( p6IDOMNodesetSort, &pSort ))))
* {
* err = pSort->reverseOrder();
* pSort->release();
* }
*

Definition at line 64 of file p6domnodesetsort.h.


The documentation for this interface was generated from the following file: