| <?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: datatypes.rng 42702 2004-03-13 12:34:18Z gregor $ --> |
| |
| <!-- Datatypes Module --> |
| <grammar xmlns="http://relaxng.org/ns/structure/1.0" |
| datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"> |
| |
| <!-- Length defined for cellpadding/cellspacing --> |
| |
| <!-- nn for pixels or nn% for percentage length --> |
| <define name="Length.datatype"> |
| <text/> |
| </define> |
| |
| <!-- space-separated list of link types --> |
| <define name="LinkTypes.datatype"> |
| <ref name="NMTOKENS.datatype"/> |
| </define> |
| |
| <!-- single or comma-separated list of media descriptors --> |
| <define name="MediaDesc.datatype"> |
| <text/> |
| </define> |
| |
| <!-- pixel, percentage, or relative --> |
| <define name="MultiLength.datatype"> |
| <text/> |
| </define> |
| |
| <!-- one or more digits (NUMBER) --> |
| <define name="Number.datatype"> |
| <text/> |
| </define> |
| |
| <!-- integer representing length in pixels --> |
| <define name="Pixels.datatype"> |
| <text/> |
| </define> |
| |
| <!-- script expression --> |
| <define name="Script.datatype"> |
| <text/> |
| </define> |
| |
| <!-- textual content --> |
| <define name="Text.datatype"> |
| <text/> |
| </define> |
| |
| <!-- Imported Datatypes ................................ --> |
| |
| <!-- a single character from [ISO10646] --> |
| <define name="Character.datatype"> |
| <text/> |
| </define> |
| |
| <!-- a character encoding, as per [RFC2045] --> |
| <define name="Charset.datatype"> |
| <text/> |
| </define> |
| |
| <!-- a space separated list of character encodings, as per [RFC2045] --> |
| <define name="Charsets.datatype"> |
| <text/> |
| </define> |
| |
| <!-- media type, as per [RFC2045] --> |
| <define name="ContentType.datatype"> |
| <text/> |
| </define> |
| |
| <!-- comma-separated list of media types, as per [RFC2045] --> |
| <define name="ContentTypes.datatype"> |
| <text/> |
| </define> |
| |
| <!-- date and time information. ISO date format --> |
| <define name="Datetime.datatype"> |
| <text/> |
| </define> |
| |
| <!-- formal public identifier, as per [ISO8879] --> |
| <define name="FPI.datatype"> |
| <text/> |
| </define> |
| |
| <!-- a language code, as per [RFC1766] --> |
| <define name="LanguageCode.datatype"> |
| <data type="language"/> |
| </define> |
| |
| <!-- a Uniform Resource Identifier, see [URI] --> |
| <define name="URI.datatype"> |
| <data type="anyURI"/> |
| </define> |
| |
| <!-- a space-separated list of Uniform Resource Identifiers, see [URI] --> |
| <define name="URIs.datatype"> |
| <text/> |
| </define> |
| |
| <define name="NMTOKEN.datatype"> |
| <data type="NMTOKEN"/> |
| </define> |
| |
| <define name="NMTOKENS.datatype"> |
| <data type="NMTOKENS"/> |
| </define> |
| |
| <define name="ID.datatype"> |
| <data type="ID"/> |
| </define> |
| |
| <define name="IDREF.datatype"> |
| <data type="IDREF"/> |
| </define> |
| |
| <define name="IDREFS.datatype"> |
| <data type="IDREFS"/> |
| </define> |
| |
| </grammar> |