[2] 仕様書:
[3] 分類文書は媒体型 application/atomcat+xml
で識別されます。
AtomPub
application/atomcat+xml 媒体型[7] 媒体型 application/atomcat+xml
は、 XML 1.0 で直列化された AtomPub 分類文書を表します。
AtomPub
[8] 仕様書: RFC 5023 - The Atom Publishing Protocol ( 版) <http://tools.ietf.org/html/rfc5023#section-16.1>
[9] charset: application/xml と同じ (省略可能)。
AtomPub
[11] application/xml と同じ。
AtomPub
<?xml version="1.0" ?>
<app:categories>
xmlns:app="http://www.w3.org/2007/app"
xmlns:atom="http://www.w3.org/2005/Atom"
fixed="yes" scheme="http://example.com/cats/big3">
<atom:category term="animal" />
<atom:category term="vegetable" />
<atom:category term="mineral" />
</app:categories>[5] >>4 の「mineral」分類が Atomエントリー文書や Atomフィード文書で使われるとすると、 こうなります AtomPub。
<atom:category scheme="http://example.com/cats/big3" term="mineral"/>