OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] javascript file in docbook generated html

If you just want to change the @type attribute value for all scripts, there's a param for that:


Bob Stayton
On 4/18/2020 5:01 AM, Niels MÃller Larsen wrote:
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="" 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.

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]