Using XML as a database in Java

I want to use an XML file as a database I want to store the ID and its corresponding string path Like:

<item>
     <Id>id</Id>
     <Path>path</Path>
</item>

Or that Now, at run time, the name value collection will load this data stored in the XML document, check the ID according to some data, process it accordingly, and update (i.e. change path of the same ID) and delete (delete existing items) the items required in the XML file I hope I can let you understand my idea! I have no code to display because it is at the conceptual level What I need is how I can do this, and is there any tutorial or API I can read that can do this? thank you. I'm in Java

Solution

On the other hand, if you use XML database systems that provides XML database APIs, it is closer to XML Like exist or Apache Xindice

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>