473,386 Members | 1,819 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

contact list xml?

I've got a vague question - just polling for info I guess, while
looking for info elsewhere, too..:

I'm wondering if there's a commonly used DTD for contact lists in XML.
I've got a contacts database, which I'd like to export to XML. I could
just design this; but if there's an existing one that's commonly used
I'd prefer to do that (depending on what it is and if it'll be dynamic
enough to let me include everything I need to).

Thanks for any input!

Sep 24 '06 #1
5 1384
no*********@gmail.com wrote:
I've got a vague question - just polling for info I guess, while
looking for info elsewhere, too..:

I'm wondering if there's a commonly used DTD for contact lists in XML.
I've got a contacts database, which I'd like to export to XML. I could
just design this; but if there's an existing one that's commonly used
I'd prefer to do that (depending on what it is and if it'll be dynamic
enough to let me include everything I need to).
The only format I have used is the one in the Sharp Zaurus PDA for
their Contacts PIM app. No DTD available, AFAIK, but the data looks
like this:

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE Addressbook ><AddressBook>
<Groups>
</Groups>
<Contacts>
<Contact FirstName="" LastName="" FileAs="" JobTitle="" Company=""
BusinessPhone="" BusinessFax="" BusinessMobile="" DefaultEmail=""
Emails="" BusinessStreet="" BusinessCity="" BusinessZip=""
BusinessCountry="" Gender="" rid="" rinfo="" Categories="" Uid="" />
....

Fields not filled in don't get represented (so no attribute is ever
empty), and by the look of it, it's just fieldnames normalised to
attribute names. Built for speed, not for anything else.

///Peter
Sep 24 '06 #2
no*********@gmail.com wrote:
I'm wondering if there's a commonly used DTD for contact lists in XML.
If you recast the question as address list, this sounds like it could be
generally useful business data, which suggests that it could be one of
the things that the OASIS efforts in that direction might be discussing.
Check their website?

Part of the question here is what other XML-compatable applications you
plan to exchange the data with. If the answer is "none", you can do
whatever makes sense; otherwise look at whether they've standardized on
something...

Remember that, if nexessary, it's often possible to adapt one XML format
to another similar one with a relatively simple XSLT stylesheet.

--
() ASCII Ribbon Campaign | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry
Sep 24 '06 #3

no*********@gmail.com wrote:
I'm wondering if there's a commonly used DTD for contact lists in XML.
FOAF (not an insult, it's a search term!)
vCard
RSS (for any generalised handling of "lists of stuff")
RDF - for handling he list structure and arbitrary groups of property
sets

Sep 24 '06 #4
I've found nothing yet on oasis-open.org; but that'd be exactly the
type of thing I'd be interested in, certainly. I've yet to identify
exactly what this needs to be compatible with; in part because ideally
I'd not want to confine it that way if I've not got to, which is why
I'd be interested in a common DTD. If I've found nothing within a brief
period of time, I'll just proceed with designing it in a way that can
include everything I need it to, which could then be translated if it
needs to be, as you indicate..

Thank you for the input!

Joe Kesselman wrote:
no*********@gmail.com wrote:
I'm wondering if there's a commonly used DTD for contact lists in XML.

If you recast the question as address list, this sounds like it could be
generally useful business data, which suggests that it could be one of
the things that the OASIS efforts in that direction might be discussing.
Check their website?

Part of the question here is what other XML-compatable applications you
plan to exchange the data with. If the answer is "none", you can do
whatever makes sense; otherwise look at whether they've standardized on
something...

Remember that, if nexessary, it's often possible to adapt one XML format
to another similar one with a relatively simple XSLT stylesheet.

--
() ASCII Ribbon Campaign | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry
Sep 26 '06 #5
I look further into both FOAF and vCard, thanks!

Andy Dingley wrote:
no*********@gmail.com wrote:
I'm wondering if there's a commonly used DTD for contact lists in XML.

FOAF (not an insult, it's a search term!)
vCard
RSS (for any generalised handling of "lists of stuff")
RDF - for handling he list structure and arbitrary groups of property
sets
Sep 26 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Jason | last post by:
I'm struggling with this email code and I'm not php freak since I'm starting to learn php stuff. Could use some help... It seems that I get too many parse errors all over and cannot figure went...
3
by: Brian Henry | last post by:
Does anyone know of a way to pull my contact lists out of exchange server and into a VB.net application? or even a public contact list? Thanks! This is something I need really bad, any help would...
1
by: kannan | last post by:
Hi, I am trying to loop through outlook contact address and display in messagebox. I have used following code: Outlook._Application olApp = new Outlook.ApplicationClass(); Outlook._NameSpace...
1
by: Robert J. Bonn | last post by:
I'm trying to set up a contact list in MS Access 97. I've looked through a reference book and the program's help screens, but the light bulb isn't quite coming on for me. If one of you could take...
1
by: rjbonn | last post by:
I'm setting up a contact list for a musician, who is about to release her first CD. She would like a contact list that can track the people she meets, who will be in various categories -- fans,...
0
by: Robert J. Bonn | last post by:
I am setting up a contact list for a musician, who is about to release her first CD. She would like a contact list that can track all the people she meets, who will be in various categories --...
0
by: =?Utf-8?B?ZGIgY2hhbGxlbmdlZA==?= | last post by:
I am realy challenged by MSN Live. I was quite happy with my former hotmail. The new forced-upon-me version has caused me nothing but headaches and lots of work. It consumes huge amounts of my time...
2
by: JayaseelanVaiyapuri | last post by:
Hi, I would like to add a menu item in Contact List menu of PocketPC using c#. in Contact list menu contains Edit, Send Contact, copy contact etc.. Now i want to add a new menu item like...
4
by: tokcy | last post by:
HI every one, i am using tooltip on click of link and i want like when that tooltip open then background window would be blure(). can anyone help me...
2
by: swethak | last post by:
hi, i have to get the gmail contact list using jsp code. For that purpose i have to use the Google data Api <%@ page import="com.xdatasystem.contactsimporter.*" %> <% // automatically...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.