vCards in XML

This should cover W3C XML Schema, Relax NG and DTD related problems.
Zearin
Posts: 107
Location: College Park, MD, United States

vCards in XML

Fri Sep 21, 2007 5:30 pm

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?
-- Zearin
Zearin
Posts: 107
Location: College Park, MD, United States

Bump

Wed Oct 24, 2007 10:07 pm

Hello? Anyone?

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

Have experience with vCards in XML?
-- Zearin
Radu
Posts: 5748

Mon Nov 05, 2007 9:34 am

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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
amix
Posts: 81

Re: vCards in XML

Mon Mar 31, 2008 2:24 pm

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?
Andreas
Zearin
Posts: 107
Location: College Park, MD, United States

Re: vCards in XML

Mon Apr 07, 2008 9:16 pm

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!
-- Zearin
Radu
Posts: 5748

Re: vCards in XML

Thu Apr 10, 2008 8:38 am

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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Return to “XML Schemas”

Who is online

Users browsing this forum: No registered users and 0 guests