add method

Add an additional validator to the current list of validators.

void add(
NodeValidator validator
)

Add an additional validator to the current list of validators.

Elements and attributes will be accepted if they are accepted by any validators.