Page 1 of 1

vCards in XML

Posted: Fri Sep 21, 2007 5:30 pm
by Zearin
There's a W3C "Note" on representing vCards in RDF here:
http://www.w3.org/TR/vcard-rdf

I know how to get Oxygen to associate an XML Schema with an XML document, but I have absolutely no experience with RDF. The document linked above does have an XMLNS mentioned, but this does not seem to provide association for Oxygen to provide autocomplete.

Does anyone know how to accomplish this? If I'm headed the wrong way, does anyone else have experience representing vCards in XML?

Bump

Posted: Wed Oct 24, 2007 10:07 pm
by Zearin
Hello? Anyone?

Able to tell me the distinction in purpose between RDF and XSDs?

Have experience with vCards in XML?

Posted: Mon Nov 05, 2007 9:34 am
by Radu
Hi Zearin,

Indeed the RDF schema specification can be used to describe the vocabulary of an XML RDF file (like vCard).

But we do not provide support for validation or content completion for the vCard XML RDF file against an RDF schema and I do not think there is a tool available on the market to do this.

There seem to be available on the internet translations from the RDF schema for vCard to DTD or XML schema.
Just find the appropriate one, associate it to the XML RDF vCard file and you will have both content completion and validation support.

If the vCard file already has some data inside you can click the "Learn structure" toolbar button and you will be offered content completion support based on the contents already in the file.

Hope this helps,
Regards,
Radu

Re: vCards in XML

Posted: Mon Mar 31, 2008 2:24 pm
by amix
Wouldn't it be nice to set up a repository or to include these settings for later updates to oXygen XML, at least for the more common XML data formats?

Re: vCards in XML

Posted: Mon Apr 07, 2008 9:16 pm
by Zearin
Yeah, probably two of the most common things modeled in software are
  • people
  • calendars / time
These are often represented as vCards and vCalendar/iCalendar, respectively. Although the official specs are not in XML, they are often stored as RDF/XML for interoperability.

I don't think it's exaggerating to say that these are two of the most potentially reusable data models ever. If Oxygen offered support for this, it would be magnificent!

Re: vCards in XML

Posted: Thu Apr 10, 2008 8:38 am
by Radu
Hi Zearin,

How would you see the support in Oxygen for these specs?
We do not support XML validation against RDF and there is probably no engine which does that.
If you have an XSD schema for each XML you would get content completion and validation in Oxygen without any further steps.

Regards,
Radu