| <?xml version="1.0" encoding="iso-8859-1"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <!-- $Id: list.rng 42702 2004-03-13 12:34:18Z gregor $ --> |
| |
| <!-- List Module --> |
| <grammar xmlns="http://relaxng.org/ns/structure/1.0"> |
| |
| <define name="dl"> |
| <element name="dl"> |
| <ref name="dl.attlist"/> |
| <oneOrMore> |
| <choice> |
| <ref name="dt"/> |
| <ref name="dd"/> |
| </choice> |
| </oneOrMore> |
| </element> |
| </define> |
| |
| <define name="dl.attlist"> |
| <ref name="Common.attrib"/> |
| </define> |
| |
| <define name="dt"> |
| <element name="dt"> |
| <ref name="dt.attlist"/> |
| <ref name="Inline.model"/> |
| </element> |
| </define> |
| |
| <define name="dt.attlist"> |
| <ref name="Common.attrib"/> |
| </define> |
| |
| <define name="dd"> |
| <element name="dd"> |
| <ref name="dd.attlist"/> |
| <ref name="Flow.model"/> |
| </element> |
| </define> |
| |
| <define name="dd.attlist"> |
| <ref name="Common.attrib"/> |
| </define> |
| |
| <define name="ol"> |
| <element name="ol"> |
| <ref name="ol.attlist"/> |
| <oneOrMore> |
| <ref name="li"/> |
| </oneOrMore> |
| </element> |
| </define> |
| |
| <define name="ol.attlist"> |
| <ref name="Common.attrib"/> |
| </define> |
| |
| <define name="ul"> |
| <element name="ul"> |
| <ref name="ul.attlist"/> |
| <oneOrMore> |
| <ref name="li"/> |
| </oneOrMore> |
| </element> |
| </define> |
| |
| <define name="ul.attlist"> |
| <ref name="Common.attrib"/> |
| </define> |
| |
| <define name="li"> |
| <element name="li"> |
| <ref name="li.attlist"/> |
| <ref name="Flow.model"/> |
| </element> |
| </define> |
| |
| <define name="li.attlist"> |
| <ref name="Common.attrib"/> |
| </define> |
| |
| <define name="List.class"> |
| <choice> |
| <ref name="ul"/> |
| <ref name="ol"/> |
| <ref name="dl"/> |
| </choice> |
| </define> |
| |
| <define name="Block.class" combine="choice"> |
| <ref name="List.class"/> |
| </define> |
| |
| </grammar> |