Blizzard/api-wow-docs

xsltproc invocation wrong?

ashemedai opened this issue · 1 comments

At least with libxslt 1.1.26 and docbook-xsl 1.75.2 on FreeBSD I have to invoke it as:

xsltproc --stringparam html.stylesheet style.css api-wow.xsl docbook-new.xml > index-new.html

Invoking it as

xsltproc api-wow.xsl --stringparam html.stylesheet style.css docbook-new.xml > index-new.html

gives me:

warning: failed to load external entity "--stringparam"
unable to parse --stringparam
warning: failed to load external entity "html.stylesheet"
unable to parse html.stylesheet
style.css:1: parser error : Start tag expected, '<' not found
html {
^
unable to parse style.css

I got the same thing when I started generating the site. The Makefile has the commands that work. Feel free to open another issue if the current commands in the Makefile error :)