From 56fcccadd0f6ac3bd4036447aa8ecb7c2025cf45 Mon Sep 17 00:00:00 2001 From: Bob Stayton Date: Mon, 30 Jan 2012 02:46:48 +0000 Subject: [PATCH] Add support for specifying javascript references like css references. --- xsl/params/html.script.type.xml | 31 ++++++++++++++++++++++++++++ xsl/params/html.script.xml | 36 +++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 xsl/params/html.script.type.xml create mode 100644 xsl/params/html.script.xml diff --git a/xsl/params/html.script.type.xml b/xsl/params/html.script.type.xml new file mode 100644 index 000000000..44ef900c6 --- /dev/null +++ b/xsl/params/html.script.type.xml @@ -0,0 +1,31 @@ + + +html.script.type +string + + +html.script.type +The type of script used in the generated HTML + + + +text/javascript + + +Description + +The type of script to place in the HTML script element. +Specifically, the value of the script element's type +attribute. +The default value is text/javascript. +This param is used only when the stylesheet parameter +html.script is non-blank and specifies the location of a script. + + + + diff --git a/xsl/params/html.script.xml b/xsl/params/html.script.xml new file mode 100644 index 000000000..60dd9edbd --- /dev/null +++ b/xsl/params/html.script.xml @@ -0,0 +1,36 @@ + + +html.script +string + + +html.script +Name of the script(s) to use in the generated HTML + + + + + + + + +Description + +The html.script parameter is either +empty (default), indicating that no script element should be +generated in the html output, or it is a list of one or more +script locations. + +Multiple script locations are space-delimited. If you need to +reference a script URI that includes a space, encode it with +%20. A separate html script element will +be generated for each script in the order they are listed in the +parameter. + + + -- 2.50.1