# (chibi sxml)

Utilities to convert sxml to xml or plain text.

#### `(html-tag->string tag attrs)`

#### `(html-escape str)`

#### `(sxml-display-as-html sxml . args)`

Render (valid, expanded) `sxml` as html. `@raw` tag is considered safe text and not processed or escaped.

#### `(sxml->xml sxml)`

Render `sxml` as `xml`. `@raw` tag is considered safe text and not processed or escaped.

#### `(sxml-strip sxml)`

Render `sxml` as simple text, stripping all tags.

#### `(sxml-display-as-text sxml [out])`

Render `sxml` as text for viewing in a terminal.