ProcessingInstruction
node given the specified name and data strings.
@param target The target part of the processing instruction.Unlike Document.createElementNS
or Document.createAttributeNS
, no namespace well-formed checking is done on the target name. Applications should invoke Document.normalizeDocument()
with the parameter " namespaces" set to true
in order to ensure that the target name is namespace well-formed.
@param data The data for the node.
@return The new ProcessingInstruction
object.
@exception DOMException INVALID_CHARACTER_ERR: Raised if the specified target is not an XML name according to the XML version in use specified in the Document.xmlVersion
attribute.
|
|