---
keywords: ymaps:ymaps
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.ru/dev/maps/ymapsml/doc/en/llms.txt


# ymaps:ymaps

### Diagram

![](../_images/ymaps.png)

### Description {#desc}

Root element.

### Contains:

[ymaps:GeoObjectCollection](https://yandex.ru/dev/maps/ymapsml/doc/en/ref/reference/ymaps-GeoObjectCollection.md)

### May include elements by substitutions:

[attr:Attribution](https://yandex.ru/dev/maps/ymapsml/doc/en/ref/reference/attribution-Attribution.md), [repr:Representation](https://yandex.ru/dev/maps/ymapsml/doc/en/ref/reference/representation-Representation.md)

> ### ymaps:ymaps
> 
> A way to use `ymaps:ymaps` with a namespace declaration. The contents of the [attr:Attribution](https://yandex.ru/dev/maps/ymapsml/doc/en/ref/reference/attribution-Attribution.md), [repr:Representation](https://yandex.ru/dev/maps/ymapsml/doc/en/ref/reference/representation-Representation.md), and [ymaps: GeoObjectCollection](https://yandex.ru/dev/maps/ymapsml/doc/en/ref/reference/ymaps-GeoObjectCollection.md) tags are omitted.
> 
> ```xml
> <?xml version="1.0" encoding="utf-8"?>
> <ymaps:ymaps xmlns:ymaps="http://maps.yandex.ru/ymaps/1.x"
>              xmlns:gml="http://www.opengis.net/gml"
>              xmlns:attr="http://maps.yandex.ru/attribution/1.x"
>              xmlns:repr="http://maps.yandex.ru/representation/1.x"
>              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>              xsi:schemaLocation="http://maps.yandex.ru/schemas/ymaps/1.x/ymaps.xsd">
>     <attr:Attribution>
>         ...
>     </attr:Attribution>
> 
>     <repr:Representation>
>         ...
>     </repr:Representation>
> 
>     <ymaps:GeoObjectCollection>
>         ...
>     </ymaps:GeoObjectCollection>
> </ymaps:ymaps>
> ```

