| <?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: csismap.rng 42702 2004-03-13 12:34:18Z gregor $ --> |
| |
| <!-- Client-side Image Map Module --> |
| <grammar xmlns="http://relaxng.org/ns/structure/1.0"> |
| |
| <define name="area"> |
| <element name="area"> |
| <ref name="area.attlist"/> |
| </element> |
| </define> |
| |
| <define name="area.attlist"> |
| <ref name="Common.attrib"/> |
| <optional> |
| <attribute name="href"> |
| <ref name="URI.datatype"/> |
| </attribute> |
| </optional> |
| <ref name="shape.attrib"/> |
| <ref name="coords.attrib"/> |
| <optional> |
| <attribute name="nohref"> |
| <value>nohref</value> |
| </attribute> |
| </optional> |
| <attribute name="alt"> |
| <ref name="Text.datatype"/> |
| </attribute> |
| <optional> |
| <attribute name="tabindex"> |
| <ref name="Number.datatype"/> |
| </attribute> |
| </optional> |
| <optional> |
| <attribute name="accesskey"> |
| <ref name="Character.datatype"/> |
| </attribute> |
| </optional> |
| </define> |
| |
| <define name="map"> |
| <element name="map"> |
| <ref name="map.attlist"/> |
| <oneOrMore> |
| <choice> |
| <!-- This does not use Block.mix |
| because loose.dtd doesn't use %Flow; --> |
| <ref name="Block.class"/> |
| <ref name="area"/> |
| </choice> |
| </oneOrMore> |
| </element> |
| </define> |
| |
| <define name="map.attlist"> |
| <ref name="CommonIdRequired.attrib"/> |
| </define> |
| |
| <define name="a.attlist" combine="interleave"> |
| <ref name="shape.attrib"/> |
| <ref name="coords.attrib"/> |
| </define> |
| |
| <define name="img.attlist" combine="interleave"> |
| <ref name="usemap.attlist"/> |
| </define> |
| |
| <define name="object.attlist" combine="interleave"> |
| <ref name="usemap.attlist"/> |
| </define> |
| |
| <define name="usemap.attlist"> |
| <optional> |
| <attribute name="usemap"> |
| <ref name="IDREF.datatype"/> |
| </attribute> |
| </optional> |
| </define> |
| |
| <define name="shape.attrib"> |
| <optional> |
| <attribute name="shape"> |
| <choice> |
| <value>rect</value> |
| <value>circle</value> |
| <value>poly</value> |
| <value>default</value> |
| </choice> |
| </attribute> |
| </optional> |
| </define> |
| |
| <define name="coords.attrib"> |
| <optional> |
| <attribute name="coords"/> |
| </optional> |
| </define> |
| |
| <define name="Inline.class" combine="choice"> |
| <ref name="map"/> |
| </define> |
| |
| </grammar> |