Note: Currently new registrations are closed, if you want an account Contact us

Difference between revisions of "Id3db/schema"

From FSCI Wiki
m
(basic xml skelton added)
Line 1: Line 1:
Lets work on the xml schema here. Like what sorts of info we need to collect.
Lets work on the xml schema here. Like what sorts of info we need to collect.


Data needs to be collected
<pre>
Title - string, one value
Artist - string, more than one
Album - string, one value
Genre - string, one value
Track Number - integer, one value
Disc Number - integer, one value
Year - integer, one value
Duration - time
</pre>
<song>
<title></title>
<artist>
</artist>
<album></album>
<genre></genre>
<track number></track number>
<disc number></disc number>
<year></year>
<duration>
</song>


Some ideas about xml schema [http://www.w3schools.com/schema/default.asp here].
Some ideas about xml schema [http://www.w3schools.com/schema/default.asp here].
Line 10: Line 35:
  xmlns="http://fci.wikia.com"
  xmlns="http://fci.wikia.com"
  elementFormDefault="qualified">
  elementFormDefault="qualified">
  </xml>
  </xml>

Revision as of 16:14, 18 July 2007

Lets work on the xml schema here. Like what sorts of info we need to collect.

Data needs to be collected

Title - string, one value
Artist - string, more than one
Album - string, one value
Genre - string, one value
Track Number - integer, one value
Disc Number - integer, one value
Year - integer, one value
Duration - time


<song>
<title></title>
<artist>
</artist>
<album></album>
<genre></genre>
<track number></track number>
<disc number></disc number>
<year></year>
<duration>
</song>

Some ideas about xml schema here.


<?xml version="1.0"?>
<xs:schema xmlns:xs="http://fci.wikia.com/wiki/Id3db/schema"
targetNamespace="http://fci.wikia.com"
xmlns="http://fci.wikia.com"
elementFormDefault="qualified">
</xml>