This method creates a new ProcessingInstruction.
Parameters: target - the target of the new ProcessingInstruction Parameters: data - the data of the new ProcessingInstruction the newly created ProcessingInstruction
This method retrieves the document element. Each document has at most one
Element as its direct child, and this node is returned if it
exists. null is returned otherwise.
the document element of this Document
This method retrieves the unique descendent elements which has an id of
elementId. Note the attribute which is used as an ID must
be supplied in the DTD of the document. It is not sufficient to give the
Element to be retrieved an attribute named 'id'.
the Element which has an id ofelementId and belongs to this Document
This method retrieves any descendent elements which have a tag name of
tagname.
the NodeList of elements which has a tag name oftagname and belong to this Document