Thanks to visit codestin.com
Credit goes to github.com

Skip to content

lpil/xmb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Extensible Markup Builder

Package Version Hex Docs

A tiny XML builder for Gleam.

import xmb.{text, x}
import gleam/io
import gleam/string_builder

pub fn main() {
  x("greeting", [], [text("Hello, Joe!")])
  |> xmb.render
  |> string_builder.to_string
  |> io.println
}
<?xml version=\"1.0\" encoding=\"UTF-8\"?><greeting>Hello, Joe!</greeting>

This package doesn't do much. If you'd like more features, check out these alternatives:

Installation

gleam add xmb

The documentation can be found at https://hexdocs.pm/xmb.

About

A tiny XML builder for Gleam

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages