This is an XSLT Stylesheet for transforming xml2rfc markup into Bootstrap-based HTML (version 4). It is based upon Julian Reschke's rfc2629.xslt.
For an example of its output, see RFC7230.
A typical invocation might look like this (assuming use of Bower and Jekyll):
java -classpath lib/saxon9.jar net.sf.saxon.Transform -novw -l \
input.xml rfcbootstrap.xslt \
bootstrapJsUrl='/components/bootstrap/dist/js/bootstrap.min.js' \
bootstrapCssUrl='/components/bootstrap/dist/css/bootstrap.min.css' \
jqueryJsUrl='/components/jquery/dist/jquery.min.js' \
siteCssUrl='/asset/site.css' \
navbar='../../_includes/navbar.html
By default, it will use CDN versions of bootstrap and jQuery; however, these
can be overridden with the bootstrapJsUrl
, bootstrapCssUrl
and
jqueryJsUrl
parameters.
Additionally, the pageUrl
, pageImageUrl
and siteName
variables can be used to set page
metadata.