### Navigation

- index
- modules |
- next |
- previous |
- home|
- search|
- documentation »
- The IPython API »

# nbformat.v2.nbxml

## Module: `nbformat.v2.nbxml`

Inheritance diagram for `IPython.nbformat.v2.nbxml`:

Read and write notebook files as XML.

Authors:

- Brian Granger

## `XMLReader`

class `IPython.nbformat.v2.nbxml.``XMLReader`

  Bases: `IPython.nbformat.v2.rwbase.NotebookReader`

  `__init__`()

    x.__init__(...) initializes x; see help(type(x)) for signature

  `read`(fp, **kwargs)

    Read a notebook from a file like object

  `reads`(s, **kwargs)
  `to_notebook`(root, **kwargs)

`IPython.nbformat.v2.nbxml.``indent`(elem, level=0)

### Navigation

- index
- modules |
- next |
- previous |
- home|
- search|
- documentation »
- The IPython API »