<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>plist</title>
<meta name="xs" content="http://www.w3.org/2001/XMLSchema" />
<meta name="version" content="1.0" />
</head>
<body>
<h1>XHTML Encodings of Cocoa/CoreFoundation Property Lists</h1>
<h2>Cocoa Property List Types with XML/XHTML Equivalents</h2>
<table class="graybox" border = "2" cellspacing="1" cellpadding="5">
<tr>
<th scope="col" align="left"><b><p>Cocoa class</p></b></th>
<th scope="col" align="left"><b><p>XML tag</p></b></th>
<th scope="col" align="left"><b><p>XHTML class/tag</p></b></th>
</tr><tr>
<td scope="row"><p>NSString</p></td>
<td><p><code><string></code></p></td>
<td><p><code><div class="xs:string"></code></p></td>
</tr><tr>
<td scope="row"><p>NSNumber (integer)</p></td>
<td><p><code><integer></code></p></td>
<td><p><code><div class="xs:integer"></code></p></td>
</tr><tr>
<td scope="row"><p>NSNumber (floating-point)</p></td>
<td><p><code><real></code></p></td>
<td><p><code><div class="xs:float"></code></p></td>
</tr><tr>
<td scope="row"><p>NSDate</p></td>
<td><p><code><date></code></p></td>
<td><p><code><div class="xs:date"></code></p></td>
</tr><tr>
<td scope="row"><p>NSNumber (BOOL <code>YES</code>)</p></td>
<td><p><code><true/></code></p></td>
<td><p><code><div class="xs:boolean">true</div></code></p></td>
</tr><tr>
<td scope="row"><p>NSNumber (BOOL <code>NO</code>)</p></td>
<td><p><code><false/></code></p></td>
<td><p><code><div class="xs:boolean">false</div></code></p></td>
</tr><tr>
<td scope="row"><p>NSData</p></td>
<td><p><code><data></code></p></td>
<td><p><code><div class="xs:base64Binary"></code></p></td>
</tr><tr>
<td scope="row"><p>NSArray</p></td>
<td><p><code><array></code></p></td>
<td><p><code><ol></code></p></td>
</tr><tr>
<td scope="row"><p>NSDictionary</p></td>
<td><p><code><dict></code></p></td>
<td><p><code><dl></code></p></td>
</table>
<h2>Example XOXO-Encoded Property List</h2>
<dl class="xoxo plist">
<dt>NSDictionary</dt>
<dd class="xs:string">Entries</dd>
<dt>Key</dt>
<dd class="xs:string">Value</dd>
<dt>Array</dt>
<dd>
<ol>
<li class="xs:string">Item #1</li>
<li class="xs:string">Item #2</li>
</ol>
</dd>
<dt>NSString</dt>
<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>
<dt>NSDate</dt>
<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>
<dt>NSData</dt>
<dd class="xs:base64Binary">sdcfo2JTiXE=</dd>
</dl>
</body>
</html>