FOM Reference > DOM Support > XPath Extensions > fxNsArray interface
  
fxNsArray interface
A FOM namespace array.
length attribute
Returns the number of namespaces in this array.
length
Access
read-only
Returns
unsigned int
getName method
Returns the name of an item stored at the given index.
getNameindex
Parameters
unsigned intindex
The index of the item to be set.
Returns
String. The name of the item at the given index.
getNamedItem method
Return the item with the given name.
getNamedItemname
Parameters
Stringname
The name of the desired item.
Returns
Object. The item stored under the given name.
hasNamedItem method
Determines if this namespace array has a named item.
hasNamedItemname
Parameters
Stringname
The name of the desired item.
Returns
booleantrue if this named item exists in the array, false otherwise.
item method
Return the item stored at the given index.
itemindex
Parameters
unsigned intindex
The index of the item to be returned.
Returns
Object. The item stored at the given index.