README.md

# SimpleForm

SimpleForm provides helper functions for working with parsed HTML and XML content, particularly when using [Saxy](https://hexdocs.pm/saxy/) (an XML parser) in Elixir projects. It simplifies data extraction, transformation, and manipulation by structuring parsed data in a consistent, tuple-based format, making traversal and modification more intuitive.

The term SimpleForm [originates from xmerl](https://www.erlang.org/docs/20/man/xmerl.html).

While technically this library could work with datastructures from xmerl and Floki, the focus on Saxy specifically.

## Features

- Utility functions for extracting and transforming parsed SimpleForm data
- Seamless integration with Saxy's simple form representation
- Simplified traversal of document trees and structured form data extraction
- Reduces boilerplate code when processing structured SimpleForm content

## Installation

Add `simple_form` to your list of dependencies in `mix.exs`:

```elixir
def deps do
  [
    {:simple_form, "~> 1.0.0"}
  ]
end
```

Then, fetch dependencies:

```sh
mix deps.get
```

## Documentation

Detailed documentation is available at [HexDocs](https://hexdocs.pm/simple_form).

## License

This project is licensed under the [EUPL-1.2 License](https://joinup.ec.europa.eu/software/page/eupl).