| <?xml version="1.0" encoding="UTF-8" ?> |
| <!DOCTYPE html> |
| |
| <!-- |
| 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. |
| --> |
| |
| <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xi="http://www.w3.org/2001/XInclude" xml:lang="en"> |
| <head> |
| <title>XML-ISO</title> |
| <meta charset="UTF-8"/> |
| <link rel="stylesheet" type="text/css" href="../book.css"/> |
| </head> |
| <body> |
| <!-- |
| Content below this point is copied in "/asf-staging/book/en/developer-guide.html" file |
| by the `org.apache.sis.internal.book.Assembler` class in `sis-build-helper` module. |
| --> |
| <section> |
| <header> |
| <h2 id="XML-ISO">Representing objects in <abbr>XML</abbr></h2> |
| </header> |
| <p> |
| Different <abbr>OGC</abbr>/<abbr>ISO</abbr> standards do not always use the same strategy to express objects in <abbr>XML</abbr>. |
| <abbr>ISO</abbr> 19115-3 standard in particular uses a more verbose approach than other standards, |
| and will be the subject of its <a href="#XML-ISO-19115">own section</a>. |
| But most <abbr>XML</abbr> formats define supplementary types and attributes that are not part of the original abstract specifications. |
| These supplementary attributes are usually specific to <abbr>XML</abbr> and may not appear in the <abbr>API</abbr> of Apache <abbr>SIS</abbr>. |
| However, some of these attributes, such as <code class="OGC">id</code>, <code class="OGC">uuid</code> and |
| <code>xlink:href</code>, remain accessible in the form of key-value pairs. |
| </p> |
| <p> |
| <abbr>XML</abbr> documents may use any prefixes, |
| but the following prefixes are commonly used. |
| They therefore appear by default in documents produced by Apache <abbr>SIS</abbr>. |
| These prefixes are defined in the <code>org.apache.sis.xml.Namespaces</code> class. |
| </p> |
| <table> |
| <caption>Common <abbr>XML</abbr> namespace prefixes</caption> |
| <tr> |
| <th>Prefix</th> |
| <th>Namespace</th> |
| </tr> |
| <tr> |
| <td><code>gco</code></td> |
| <td><code>http://www.isotc211.org/2005/gco</code></td> |
| </tr> |
| <tr> |
| <td><code>gfc</code></td> |
| <td><code>http://www.isotc211.org/2005/gfc</code></td> |
| </tr> |
| <tr> |
| <td><code>gmd</code></td> |
| <td><code>http://www.isotc211.org/2005/gmd</code></td> |
| </tr> |
| <tr> |
| <td><code>gmi</code></td> |
| <td><code>http://www.isotc211.org/2005/gmi</code></td> |
| </tr> |
| <tr> |
| <td><code>gmx</code></td> |
| <td><code>http://www.isotc211.org/2005/gmx</code></td> |
| </tr> |
| <tr> |
| <td><code>gml</code></td> |
| <td><code>http://www.opengis.net/gml/3.2</code></td> |
| </tr> |
| <tr> |
| <td><code>xlink</code></td> |
| <td><code>http://www.w3.org/1999/xlink</code></td> |
| </tr> |
| </table> |
| <xi:include href="XML-ISO-19115.html"/> |
| </section> |
| </body> |
| </html> |