Function Reference
FirstUnique
First unique element with matching local name.
Syntax:
wwnodeset:FirstUnique($input, $attributeLocalName)Parameters:
Name | Type | Description |
|---|---|---|
|
| The input node set. |
|
| Local name of the element. |
Returns:
XPathNodeIterator: A node set.
Example:
<xsl:variable name="VarUniqueItems" select="wwnodeset:FirstUnique($VarAllItems, 'id')" />FirstUniqueWithNamespace
First unique element with matching namespace and matching local name.
Syntax:
wwnodeset:FirstUniqueWithNamespace($input, $attributeLocalName, $attributeNamespaceURI)Parameters:
Name | Type | Description |
|---|---|---|
|
| The input node set. |
|
| Local name of the element. |
|
| Namespace URI. |
Returns:
XPathNodeIterator: A node set.
LastUnique
Last unique element with matching local name.
Syntax:
wwnodeset:LastUnique($input, $attributeLocalName)Parameters:
Name | Type | Description |
|---|---|---|
|
| The input node set. |
|
| Local name of the element. |
Returns:
XPathNodeIterator: A node set.
LastUniqueWithNamespace
Last unique element with matching namespace and matching local name.
Syntax:
wwnodeset:LastUniqueWithNamespace($input, $attributeLocalName, $attributeNamespaceURI)Parameters:
Name | Type | Description |
|---|---|---|
|
| The input node set. |
|
| Local name of the element. |
|
| Namespace URI. |
Returns:
XPathNodeIterator: A node set.