| <?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: attribs.rng 42702 2004-03-13 12:34:18Z gregor $ --> |
| |
| <!-- Common Attributes Module --> |
| <grammar xmlns="http://relaxng.org/ns/structure/1.0"> |
| |
| <define name="id.attrib"> |
| <optional> |
| <attribute name="id"> |
| <ref name="ID.datatype"/> |
| </attribute> |
| </optional> |
| </define> |
| |
| <define name="class.attrib"> |
| <optional> |
| <attribute name="class"> |
| <ref name="NMTOKENS.datatype"/> |
| </attribute> |
| </optional> |
| </define> |
| |
| <define name="title.attrib"> |
| <optional> |
| <attribute name="title"> |
| <ref name="Text.datatype"/> |
| </attribute> |
| </optional> |
| </define> |
| |
| <define name="Core.attrib"> |
| <ref name="id.attrib"/> |
| <ref name="class.attrib"/> |
| <ref name="title.attrib"/> |
| </define> |
| |
| <define name="lang.attrib"> |
| <optional> |
| <attribute name="xml:lang"> |
| <ref name="LanguageCode.datatype"/> |
| </attribute> |
| </optional> |
| </define> |
| |
| <define name="I18n.attrib"> |
| <ref name="lang.attrib"/> |
| </define> |
| |
| <define name="Common.attrib"> |
| <ref name="Core.attrib"/> |
| <ref name="I18n.attrib"/> |
| </define> |
| |
| <define name="CommonIdRequired.attrib"> |
| <attribute name="id"> |
| <ref name="ID.datatype"/> |
| </attribute> |
| <ref name="class.attrib"/> |
| <ref name="title.attrib"/> |
| <ref name="I18n.attrib"/> |
| </define> |
| |
| </grammar> |