/ Ronan Waide <[EMAIL PROTECTED]> was heard to say:
| I'm looking around for an XML schema/namespace (spot the person who
| doesn't hack XML) that covers addressbooks. I'd like a standard one if
| such a beast exists, rather than something that's been rolled by this
I know of no standard XML vocabulary for address books. I note that as
long as the schema you choose accurately and completely identifies the
components of the BBDB, converting to other XML vocabularies is fairly
well defined (using tools like XSLT).
And even though you don't want something that's "been rolled by this
one guy", here's the, um, one this guy rolled :-)
<!ELEMENT bbdb (record+)>
<!ATTLIST bbdb
user-fields CDATA #IMPLIED
>
<!ELEMENT record (firstname | lastname | aka | company
| phone | address | email | user-field)+>
<!ATTLIST record
id ID #IMPLIED
>
<!ELEMENT firstname (#PCDATA)>
<!ELEMENT lastname (#PCDATA)>
<!ELEMENT aka (#PCDATA)>
<!ELEMENT company (#PCDATA)>
<!ELEMENT phone (#PCDATA)>
<!ATTLIST phone
label CDATA #REQUIRED
>
<!ELEMENT email (#PCDATA)>
<!ELEMENT address (line*, city?, state?, zip?, country?)>
<!ATTLIST address
name CDATA #REQUIRED
>
<!ELEMENT line (#PCDATA)>
<!ELEMENT city (#PCDATA)>
<!ELEMENT state (#PCDATA)>
<!ELEMENT zip (#PCDATA)>
<!ELEMENT country (#PCDATA)>
<!ELEMENT user-field (#PCDATA)>
<!ATTLIST user-field
name CDATA #REQUIRED
>
Be seeing you,
norm
--
Norman Walsh <[EMAIL PROTECTED]> | A man must have grown old and lived
http://nwalsh.com/ | long in order to see how short life
| is.--Schopenhauer
_______________________________________________
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/