[erlang-questions] xsltproc - erl_doc runtime error: Variable 'stylesheet' has not been declared.
borja.carbo@REDACTED
borja.carbo@REDACTED
Fri Dec 4 16:29:21 CET 2015
Trying to follow the examples from the erl_doc documentation I have
found the error from the title and I reproduce here.
laptop@REDACTED:~/MyProjects/InErlang/lib/basura-1.0.0/doc$ xsltproc
--noout \
> --stringparam outdir . \
> --stringparam topdocdir . \
> --stringparam pdfdir . \
> --xinclude \
> --stringparam docgen /usr/local/lib/erlang/lib/erl_docgen-0.4 \
> --stringparam gendate "December 5 2011" \
> --stringparam appname application_example \
> --stringparam appver 1.0.0 \
> -path /usr/local/lib/erlang/lib/erl_docgen-0.4/priv/dtd \
> -path /usr/local/lib/erlang/lib/erl_docgen-0.4/priv/dtd_html_entities \
> /usr/local/lib/erlang/lib/erl_docgen-0.4/priv/xsl/db_html.xsl \
> application_example.xml
runtime error: file
/usr/local/lib/erlang/lib/erl_docgen-0.4/priv/xsl/db_html.xsl line 582
element choose
Variable 'stylesheet' has not been declared.
laptop@REDACTED:~/MyProjects/InErlang/lib/basura-1.0.0/doc$
The file I used is just a simple modification of the example in the
same documentation. Attached and named "application_example.xml". file
placed in the same directory from where the command is executed.
The command generated a small file (attached and named
"Application_Example_app.html") although meaningless.
Is this a bug or simple I missed something?
-------------- next part --------------
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns:fn="http://www.w3.org/2005/02/xpath-functions"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head></html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: application_example.xml
Type: application/xml
Size: 891 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20151204/4ffe8866/attachment.wsdl>
More information about the erlang-questions
mailing list