cashdeskmac
Programmer
Can anyone tell me the difference between these two xml files:
<?xml version="1.0" ?>
<Bookshop>
<book title="my first book" author="someone"/>
<book title="another book" author="someone else"/>
<DVD title="how to cook" director="TV Chef"/>
<DVD title="Gardening" director="TV gardener"/>
</Bookshop>
and:
<?xml version="1.0" ?>
<Bookshop>
<Books>
<book title="my first book" author="someone"/>
<book title="another book" author="someone else"/>
</Books>
<DVDs>
<DVD title="how to cook" director="TV Chef"/>
<DVD title="Gardening" director="TV gardener"/>
</DVDs>
</Bookshop>
Both allow me to generate a schema and fill a DataSet, but is there any significant difference between them, and is one prefered over the other?
<?xml version="1.0" ?>
<Bookshop>
<book title="my first book" author="someone"/>
<book title="another book" author="someone else"/>
<DVD title="how to cook" director="TV Chef"/>
<DVD title="Gardening" director="TV gardener"/>
</Bookshop>
and:
<?xml version="1.0" ?>
<Bookshop>
<Books>
<book title="my first book" author="someone"/>
<book title="another book" author="someone else"/>
</Books>
<DVDs>
<DVD title="how to cook" director="TV Chef"/>
<DVD title="Gardening" director="TV gardener"/>
</DVDs>
</Bookshop>
Both allow me to generate a schema and fill a DataSet, but is there any significant difference between them, and is one prefered over the other?