Usage of attributes in Kolab XML?

Jeroen van Meeuwen (Kolab Systems) vanmeeuwen at kolabsys.com
Mon Dec 13 18:32:48 CET 2010


Bernhard Reiter wrote:
> Am Freitag, 10. Dezember 2010 21:24:36 schrieb Gunnar Wrobel:
> > > In a conference call earlier today, the question of usage of attributes
> > > in Kolab XML came up as a way to more robustly and elegantly handle
> > > some cases, with advantages over nested tags.
> 
> Can you give an example for this and the intended usage where this
> would be more elegant?
> 

I suppose the following would indicate intended, more elegant usage:

  <event>
    ...
    <recurrence>
      ...
      <exception datetime="DATE" creation-date="DATE" />
    </recurrence>
  </event>

As opposed to:

  <event>
    ...
    <recurrence>
      ...
      <exclusion>datetime
        <creation-date>DATE</creation-date>
      </exclusion>
    </recurrence>
  </event>

Kind regards,

Jeroen van Meeuwen

-- 
Senior Engineer, Kolab Systems AG

e: vanmeeuwen at kolabsys.com
t: +316 42 801 403
w: http://www.kolabsys.com

pgp: 9342 BF08
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/format/attachments/20101213/be36c634/attachment.html>


More information about the format mailing list