namedItem returns the first element with ID or name from the collection.
Syntax
element = collection.namedItem(name) element = collection[name]
namedItem returns the first element with ID or name from the collection.
element = collection.namedItem(name) element = collection[name]