Quantcast
Channel: Developer Feed - XML
Viewing all articles
Browse latest Browse all 8

How to construct DOM and convert to XML?

$
0
0

DOM to XML  Constructing DOM (Document Object Model) to generate or represent XML is easy. The basic steps are as follows

 > Create the XML Document  object using the Document Builder Factory.

>Build your model by adding nodes and attributes etc. in the hierarchical order

> Once done, transform your XML Document to XML String representation by using an Transformer .

read more


Viewing all articles
Browse latest Browse all 8

Trending Articles