Function Reference
FirstUnique
First unique element with matching local name.
Syntax:
wwnodeset:FirstUnique($input, $attributeLocalName)
Parameters:
Name
Type
Description
input
object
The input node set.
attributeLocalName
string
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
input
object
The input node set.
attributeLocalName
string
Local name of the element.
attributeNamespaceURI
string
Namespace URI.
Returns:
XPathNodeIterator: A node set.

LastUnique
Last unique element with matching local name.
Syntax:
wwnodeset:LastUnique($input, $attributeLocalName)
Parameters:
Name
Type
Description
input
object
The input node set.
attributeLocalName
string
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
input
object
The input node set.
attributeLocalName
string
Local name of the element.
attributeNamespaceURI
string
Namespace URI.
Returns:
XPathNodeIterator: A node set.

Was this helpful?
Last modified date: 01/12/2026