Skip to content

Instantly share code, notes, and snippets.

@iampava
Last active May 1, 2018 07:12
Show Gist options
  • Save iampava/1ca54a8aac224e1946fb0431dc1ad850 to your computer and use it in GitHub Desktop.
Save iampava/1ca54a8aac224e1946fb0431dc1ad850 to your computer and use it in GitHub Desktop.
Modelling a book collection in XML | Author: Angel Ardeleanu
<?xml version="1.0" encoding="UTF-8" ?>
<collection>
<books>
<book>
<title> bla bla bla </title>
<author_id> 13 </author_id>
<background> BG.com/blablabla.png </background>
<price>130</price>
<description> aceasta este o descriere </description>
<publication>
<name> nume_publicatie </name>
<date format="dd MM YYYY"> 13 Mar 2018 </date>
<place url="publicatia.com">
@publicatia.ro
</place>
</publication>
</book>
</books>
<authors>
<author>
<name> Pompeius </name>
<id>13</id>
<place url="facebook.com/Pompi.com">
facebook
</place>
</author>
</authors>
</collection>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment