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

Skip to content

Simple, flexible, fluid, dependency-free Java library for generating wellformed xhtml documets and fragments

Notifications You must be signed in to change notification settings

narve/xhtml-generator

Repository files navigation

xhtml-generator

Simple, flexible, fluid, dependency-free Java library for generating well-formed xhtml documents and fragments.

This library is intended for programmatical generation of XHTML documents and fragments. It does not validate anything, and does not prevent developers from doing crazy stuff if they feel like it. But it does provide handy functionality for generating elements and setting attribute values.

See Main.java for example of usage, and output.html for output generated by this code.

xhtml-generator uses virtual extension methods and lambdas, so it requires java 8 both for compiling and using.

This library is still missing lots of elements and attributes - I add them as I need them. If you use it, please contribute whatever you miss. Pull requests are welcome :)

About

Simple, flexible, fluid, dependency-free Java library for generating wellformed xhtml documets and fragments

Resources

Stars

Watchers

Forks

Packages

No packages published