An API and related tools around Paul Strack's Eldamo lexicon compilation for J. R. R. Tolkien's languages.
More information can be found on eldamo.org.
To create Go structs from an XSD, use go-xsd
go get github.com/metaleap/go-xsd
go get github.com/metaleap/go-buildrun
xsd-makepkg -uri="127.0.0.1:4909/eldamo.xsd"
Creates in $GOHOME/src/github.com/metaleap/go-xsd-pkg/127.0.0.1:4909/
Utility scripts for analysis
getTools
- downloads required tools for creating dtd, xsd, and html version of schemagenerateHtmlFromXml
- generates HTML from XSD using XSL
getTools
- downloads saxon, trang, and xs3p to the tools
directory
generateHtmlFromXml
expects a tools
directory with java/xsl tools and an eldamo
directory with the eldamo-data.xml
file. Providing the s
flag (generateHtmlFromXml -s
) will download the eldamo-data.xml file
The tools
directory (built by getTools
script) contains external tools to process the Eldamo XML source.
- Saxon - XSLT & XQuery processor and DTD Generator
- xs3p - Schema document HTML XSLT
- trang - more generic schema converter
- Linguistic Library and Sindarin Library (forums)