C# Class Sage.XsltExtensions.Set

ファイルを表示 Open project: igorfrance/sage

Public Methods

Method Description
distinct ( XPathNodeIterator nodeset, string xpath ) : XPathNodeIterator

Selects nodes from the specified nodeset that have unique values selected with xpath.

distinct ( XPathNodeIterator nodeset, string xpath, bool includeNullEntries ) : XPathNodeIterator

Selects nodes from the specified nodeset that have unique values selected with xpath.

either ( XPathNodeIterator nodeset1, XPathNodeIterator nodeset2 ) : XPathNodeIterator

Returns nodeset1 if it is not empty, otherwise nodeset2.

Method Details

distinct() public method

Selects nodes from the specified nodeset that have unique values selected with xpath.
public distinct ( XPathNodeIterator nodeset, string xpath ) : XPathNodeIterator
nodeset System.Xml.XPath.XPathNodeIterator The nodeset that contains the nodes to filter.
xpath string The xpath to use to select the value that should be unique between nodes.
return System.Xml.XPath.XPathNodeIterator

distinct() public method

Selects nodes from the specified nodeset that have unique values selected with xpath.
public distinct ( XPathNodeIterator nodeset, string xpath, bool includeNullEntries ) : XPathNodeIterator
nodeset System.Xml.XPath.XPathNodeIterator The nodeset that contains the nodes to filter.
xpath string The xpath to use to select the value that should be unique between nodes.
includeNullEntries bool If set to true, nodes that fail to select the specified will be included too.
return System.Xml.XPath.XPathNodeIterator

either() public method

Returns nodeset1 if it is not empty, otherwise nodeset2.
public either ( XPathNodeIterator nodeset1, XPathNodeIterator nodeset2 ) : XPathNodeIterator
nodeset1 System.Xml.XPath.XPathNodeIterator The primary selection.
nodeset2 System.Xml.XPath.XPathNodeIterator The secondary selection.
return System.Xml.XPath.XPathNodeIterator