Vitalnix : User Management Suite
  manual v1.90.2.x

NAME

ds_xml - Tags used in a Neluder XML Data Source

DESCRIPTION

Since the SDF format is very unstable -- multiple styles have appeared in the years and a header does not exist to say what kind it is -- a new Data Source module has been invented to read user definitions from an XML file. It is a layer to libxml which takes care of all the necessary stuff.

Prerequisite is that you know some HTML, XML, XHTML.

Begin the XML file with the <datasource> tag. (Needed to recognize a file.)

USER OBJECT

The <user> tag specifies a user:

<user nname="Engelhardt" vname="Jan" xuid="12.3.45" class="11" />

vname is the surname (prenom), nname the other (last name). Birthdate (used to handle users with same name) can be any format the date_scramble() routine in data.c accepts. They can be:

D.M.Y, M/D/Y, Y-M-D.
D and M can be autoprefixed by zero (i.e. "07.01.2003"). YY can be a two-, three- or four-digit year. 03 is 103 is 2003 (except: 03 is 2103 when we 're in the 22th century).

Comments are allowed as XML/HTML allows them. They are filtered out when parsing with libxml.


July 17 2003