← Prev in month ← Prev in thread

javascript file in docbook generated html

From
Niels MÃller Larsen <>
Date
2020-04-18T12:01:36+00:00
ID
Thread
javascript file in docbook generated html
Hi all
You may customize docbook to include a certain javascript into all your generated html files (chunked) by including

    <xsl:param name="html.script">nmlQuery.js</xsl:param>

is there a way you can make this appear in the html as

<script src="nmlQuery.js" type="module"/>

it would be very convenient by allowing you to structure your js in a more moderne way.

BTW ...type="text/javascript" is not necessary in this day and age.

-- 
Niels MÃller Larsen <>
← Prev in month ← Prev in thread