top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How are documents accessed and manipulated in XML?

0 votes
437 views
How are documents accessed and manipulated in XML?
posted Jan 2, 2018 by Sathaybama

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

The XML DOM (document object model) is used the access and management of xml. It is a platform that is language neutral and allows a program or a script to dynamically access a document. It also allows the updation of content as well as the structure and style of the document. It is responsible for the defining of the object and properties of all xml elements as well as to define the methods for their access.

There are various methods that can be used in xml dom such as:

  1. getElementsByTagName : Used to call a specific user defined tag.
  2. setAttribute : Used to change the value of an existing attribute.
  3. appendChild : Used to add a child node to another node.
answer Jan 2, 2018 by Shivaranjini
...