Java Web Applications
Todo Application: Persistence
The data of the application shall pe persisted as XML, for example as follows:
<users>
<user>
<name>alice</name>
<password>12345</password>
<lastTodoId>1</lastTodoId>
<todos>
<todo id="1">
<title>Buy milk</title>
<category>Home</category>
<dueDate>2022-12-01</dueDate>
<important>false</important>
<completed>true</completed>
</todo>
</todos>
</user>
</users>
In order that the XML data can be exchanged between different applications, the XML data should be valid with respect to XML schema
todo-data.xsd.