XML DOM | ProcessingInstruction Object

XML DOM - ProcessingInstruction Object


Hello folks! welcome back to a new section of our tutorial on XML DOM. In this tutorial post, we are going to be studying about the XML DOM ProcessingInstruction Object.

The ProcessingInstruction object provides that application-specific information which is generally added in the prolog section of the XML document.

ProcessingInstruction Object Attributes

The following table lists the attributes of the ProcessingInstruction object -

AttributeTypeDescription
dataDOMStringIt is a character that describes the information for the application to process immediately preceding the ?>.
targetDOMStringThis identifies the application to which the instruction or the data is directed.


Alright guys! This is where we are going to be rounding up for this tutorial post. In our next tutorial, we will be studying about XML DOM ProcessingInstruction data Attribute.

Feel free to ask your questions where necessary and we will attend to them as soon as possible. If this tutorial was helpful to you, you can use the share button to share this tutorial.

Follow us on our various social media platforms to stay updated with our latest tutorials. You can also subscribe to our newsletter in order to get our tutorials delivered directly to your emails.

Thanks for reading and bye for now.