Name

contains: str(3)

Synopsis

Returns true if the name given by the str parameter is contained in the list; otherwise, it returns false.

Argument

str: DOMString

The name value to locate.

Java binding

public boolean contains(String str);

Get XML in a Nutshell, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.