---
title: Overview
sidebar_position: 0
toc_min_heading_level: 2
toc_max_heading_level: 3
---

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

# Overview

TypeSpec library providing xml bindings

## Install

<Tabs>
<TabItem value="spec" label="In a spec" default>

```bash
npm install @typespec/xml
```

</TabItem>
<TabItem value="library" label="In a library" default>

```bash
npm install --save-peer @typespec/xml
```

</TabItem>
</Tabs>

## TypeSpec.Xml

### Decorators

- [`@attribute`](./decorators.md#@TypeSpec.Xml.attribute)
- [`@name`](./decorators.md#@TypeSpec.Xml.name)
- [`@ns`](./decorators.md#@TypeSpec.Xml.ns)
- [`@nsDeclarations`](./decorators.md#@TypeSpec.Xml.nsDeclarations)
- [`@unwrapped`](./decorators.md#@TypeSpec.Xml.unwrapped)
