Name

getUserData: key(3)

Synopsis

This method is used to retrieve user-defined data from a node that was placed there using the setUserData( ) method. If no user data with the given key is found, the method returns null.

Argument

key: DOMString

The unique key associated with the user data to retrieve.

Java binding

public Object getUserData(String key);

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.