# Three Ways to Define a TreeView: Markup (Progressive Enhancement), Existing TreeView Instance, and Object Literal

In this simple example you can see how to build TreeView Control from existing HTML markup and from a previous tree definition or from a branch of it.

### Tree from markup

- List 0
  - List 0-0
    - item 0-0-0
    - elsewhere
- List 1
  - List 1-0
    - 02/01/2009
    - item 1-1-0

### Copy of the tree above taken from its own definition

### Copy of the second branch of the tree at the top

### Tree built from a static definition