https://github.com/lpil/xmb
A tiny XML builder for Gleam
https://github.com/lpil/xmb
Last synced: about 2 months ago
JSON representation
A tiny XML builder for Gleam
- Host: GitHub
- URL: https://github.com/lpil/xmb
- Owner: lpil
- License: apache-2.0
- Created: 2024-07-14T16:22:36.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-12-07T22:19:26.000Z (5 months ago)
- Last Synced: 2025-03-15T12:54:46.837Z (about 2 months ago)
- Language: Gleam
- Homepage:
- Size: 21.5 KB
- Stars: 9
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
- awesome-gleam - xmb - [📚](https://hexdocs.pm/xmb/) - A tiny XML builder for Gleam (Packages / Formats)
README
# Extensible Markup Builder
[](https://hex.pm/packages/xmb)
[](https://hexdocs.pm/xmb/)A tiny XML builder for Gleam.
```gleam
import xmb.{text, x}
import gleam/io
import gleam/string_builderpub fn main() {
x("greeting", [], [text("Hello, Joe!")])
|> xmb.render
|> string_builder.to_string
|> io.println
}
```
```xml
Hello, Joe!
```This package doesn't do much. If you'd like more features, check out these
alternatives:- [xmleam](https://hex.pm/packages/xmleam)
## Installation
```sh
gleam add xmb
```The documentation can be found at .