getDocumentWithAttribute(String, String, boolean, String...) method

Returns the first element with the given route that contains the given attribute with the given value.

Syntax

public IParserDocument getDocumentWithAttribute ( String attributeName , String attributeValue , boolean addByDefault , String... route )

Parameters

Returns

The element as a new IParser document or null if there is no such element

Exceptions