Abstract
Tags used in a XML Data Source
Description
The SDF format has a number of issues, such as having no clear identification and layout description. An alternative format based upon XML has therefore been described and can be input to libvxeds.
The following keys are recognized:
- surname -- last name
- firstname -- first name
This field is mandatory. - pvgrp -- private group descriptor
This can be anything you want, and is commonly used for school classes. It will only ever be used for password printing in user interfaces, or for custom applications that use it. - uuid -- an arbitrary string that uniquely identifies this
user within the Data Source
It is preferred that it consists only of characters in [0-9A-Za-z_
], because this uuid might be copied to a passwd(5) style file. - bday -- birth date
if nouuid
is given, create one based on name and this date (commonly birth date). Formats accepted are DD.MM.YYYY, MM/DD/YYYY and YYYY-MM-DD.
Comments are allowed as far as XML allows them. They are filtered out when parsing with libxml. Unknown tags or fields will also be ignored.
Sample
<?xml version="1.0" encoding="UTF-8" ?>
<VX3_xmlds>
<user surname="Engelhardt" firstname="Jan" pvgrp="13" uuid="12345678" />
</VX3_xmlds>