Logo Search packages:      
Sourcecode: lib-dom-java version File versions  Download package

ProcessingInstruction org::w3c::dom::Document::createProcessingInstruction ( String  target,
String  data 
) throws DOMException [inherited]

Creates a ProcessingInstruction node given the specified name and data strings.

Parameters:
target The target part of the processing instruction.
data The data for the node.
Returns:
The new ProcessingInstruction object.
Exceptions:
DOMException INVALID_CHARACTER_ERR: Raised if an invalid character is specified.
NOT_SUPPORTED_ERR: Raised if this document is an HTML document.


Generated by  Doxygen 1.6.0   Back to index