datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
xmlns="http://relaxng.org/ns/structure/1.0">
- <attribute name="type">
- <text />
- </attribute>
-
<choice>
- <element name="textData">
- <text />
- </element>
+ <!-- リダイレクトの場合 -->
+ <attribute name="redirect">
+ <!-- ページ名 -->
+ <data type="anyURI" />
+ </attribute>
+
+ <!-- リダイレクトでない場合 -->
+ <group>
+ <attribute name="type">
+ <!-- MIME Type -->
+ <text />
+ </attribute>
+
+ <optional>
+ <!-- text/css でなければ無視される -->
+ <attribute name="isTheme">
+ <!-- これは HXT が對應してゐない。
+ <data type="string">
+ <param name="pattern">yes|no</param>
+ </data>
+ -->
+ <text />
+ </attribute>
+ </optional>
+
+ <optional>
+ <!-- text/x-rakka でなければ無視される -->
+ <attribute name="isFeed">
+ <!-- yes/no -->
+ <text />
+ </attribute>
+ </optional>
+
+ <optional>
+ <!-- ログインしてゐないユーザーの編集を禁止するフラグ -->
+ <attribute name="isLocked">
+ <!-- yes/no -->
+ <text />
+ </attribute>
+ </optional>
+
+ <optional>
+ <!-- 更新履歴や RSS から削除されるフラグ -->
+ <attribute name="isBoring">
+ <!-- yes/no -->
+ <text />
+ </attribute>
+ </optional>
+
+ <interleave>
+ <optional>
+ <element name="summary">
+ <text />
+ </element>
+ </optional>
+
+ <optional>
+ <element name="otherLang">
+ <zeroOrMore>
+ <element name="link">
+ <attribute name="lang">
+ <!-- RFC 4646 言語コード -->
+ <text />
+ </attribute>
+ <attribute name="page">
+ <!-- ページ名 -->
+ <data type="anyURI" />
+ </attribute>
+ </element>
+ </zeroOrMore>
+ </element>
+ </optional>
+ </interleave>
+
+ <choice>
+ <element name="textData">
+ <text />
+ </element>
- <element name="binaryData">
- <text />
- </element>
+ <element name="binaryData">
+ <!-- これは HXT が對應してゐない。
+ <data type="base64Binary" />
+ -->
+ <text />
+ </element>
+ </choice>
+ </group>
</choice>
</element>