I have understanded the abbrevation of DOM,but iam not understanding what is use of that in sales force.Is there any link between xml and DOM.
The DOM (DOM (Document Object Model) is just a model of the document. It could be a HTML/XHTML documents or XML document. The DOM only describes a structure of objects and it representation and accessibility.
In relation to Salesforce you have some ways where you can "use" DOM in Apex programming language and on the Visualforce pages.
In Apex the use of DOM is useful while creating or reading XML-documents. For that Apex language offers some classes:
- What is Apex?
- Document Class - to process XML content
- XmlNode Class - to work with a node in an XML document
Good XML and Apex examples could be found here: Reading and Writing XML Using the DOM
Some helpful topics: