fbpx
Responsive Ad Area
Home » Blog » Featured News

Featured News

XML Data Files: Reading and Writing XML data files using Java

XML Data Files In this post I will show you how to read and write data types in simple xml data files using XML DOM. DOM means Document Object Model. We are mainly concerned here with reading and writing some data of the same types we have been working with in previous articles. So i.e. xml data files <some document> <some element> <some data name=value/> <some data name="value"/> <some data> some text </some data> </some element> </some document> XML Documents XML document can be more complex with other parts to parse. In this, we have a document root which has as children which have children which have attributes which contain the data we want to store. But also text data can be stored if we use <some data> text </some data> not...