[microformats-discuss] XHTML Property Lists (Mac OS X)

Dr.Ernie Prabhakar drernie at opendarwin.org
Fri Sep 23 20:16:19 PDT 2005

Hi all,

Many of you, I'm sure, know that Mac OS X uses Property Lists for  
generic data storage, often encoded in XML:


As I think has been discussed before, these seem like a natural  
application for XOXO.  However, I don't believe anyone has actually  
worked out a mapping.  Here's my first cut at an XHTML equivalent of  
the XML Property List formant in Mac OS X:

<dl class="xoxo plist">
    <dd class="xs:string">Entries</dd>
    <dd class="xs:string">Value</dd>
        <li class="xs:string">Item #1</li>
        <li class="xs:string">Item #2</li>
    <dd class="xs:string">abcd</dd>
    <dt>NSNumber (integer)</dt>
    <dd class="xs:integer">123</dd>
    <dt>NSNumber (floating-point)</dt>
    <dd class="xs:float">123.456</dd>
    <dd class="xs:date">1987-12-03</dd>
    <dt>NSNumber (BOOL YES)</dt>
    <dd class="xs:boolean">true</dd>
    <dt>NSNumber (BOOL NO)</dt>
    <dd class="xs:boolean">false</dd>
    <dd class="xs:base64Binary">sdcfo2JTiXE=</dd>

I realize that's a somewhat squirrely use of XML datatypes, but it  
seemed appropriate.  Would it be better (or worse) if I dropped the  
'xs' prefix?

I'm also attaching an HTML table showing the mapping -- apologies if  
that violates list etiquette:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://microformats.org/discuss/mail/microformats-discuss/attachments/20050923/70b8e9b0/plist.html
-------------- next part --------------

Please let me know if there's a better way to do this (or ask about  

- Ernie P

More information about the microformats-discuss mailing list