Insert the document under the element with the given route inserted document will be placed before already existing documents with the same route name under All missing elements from the route will be created.
Syntax
public
void
putDocument
(
ISDMParserDocument
document
,
String...
route
) throws IllegalArgumentException
Parameters
-
document –
The new document
-
route –
The route to the parent element of the new document
Exceptions
-
IllegalArgumentException –
if either of the arguments is null.