I'm new to DTDs (markup seems to always come first), but how does this
look for a VERY basic start? I used the vCard specification and the FGDC
(Federal Geographic Data Committee "http://www.fgdc.gov") metadata
standard as a model. If there are more than two people willing to pitch
in, I'd be willing to host a web-page to keep everyone up-to-date.
<!DOCTYPE Xcard [
<!ELEMENT Xcard (identity,contact) >
<!ELEMENT identity (person-primary | organization-primary)>
<!ELEMENT person-primary (person,organization?)>
<!ELEMENT organization-primary (organization,person*)>
<!ELEMENT person (name,title?)>
<!ELEMENT organization (org-name,unit?)>
<!ELEMENT name (#PCDATA,firstname,surname,other?,suffix?,prefix?)>
<!ELEMENT title (#PCDATA)>
<!ELEMENT org-name (#PCDATA)>
<!ELEMENT unit (#PCDATA)>
<!ELEMENT firstname (#PCDATA)>
<!ELEMENT surname (#PCDATA)>
<!ELEMENT other (#PCDATA)>
<!ELEMENT suffix (#PCDATA)>
<!ELEMENT prefix (#PCDATA)>
<!ELEMENT contact (tel-info*,email-info*)>
<!ELEMENT tel-info (telephone+)>
<!ELEMENT email-info (email-type?,email-address)+>
<!ELEMENT telephone #PCDATA>
<!ATTLIST telephone type (PREF | WORK | HOME | VOICE | FAX | MSG | CELL
| PAGER | BBS | MODEM | CAR | ISDN | VIDEO) "PREF">
<!ELEMENT email-type (#PCDATA)>
<!ELEMENT email-address (#PCDATA)>
]>
-- Jason R. Cupp (jcupp@essc.psu.edu) Deasy GeoGraphics The Pennsylvania State Universityxml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:majordomo@ic.ac.uk the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)