Returns the first element with the given route that contains the given attribute with the given value.
Syntax
public
abstract ISDMParserDocument
getDocumentWithAttribute
(
String
attributeName
,
String
attributeValue
,
String...
route
)
Parameters
-
route –
The route to the element
-
attributeName –
The name of the attribute
-
attributeValue –
The expected value of the attribute
Returns
The element as a new ISDMParser document or null if there is no such element
Exceptions
-
IllegalArgumentException –
if either of the arguments is null.