summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun McCance <shaunm@src.gnome.org>2003-07-24 06:18:36 +0000
committerShaun McCance <shaunm@src.gnome.org>2003-07-24 06:18:36 +0000
commit86c68fffc347bb1fdad9ffd804750d25a045673b (patch)
treefd4af211ea99645c67e8d9144032bfef42f8d142
parent21a5ac34444a7e8bd75fce4a136aeead7e88f22b (diff)
downloadyelp-86c68fffc347bb1fdad9ffd804750d25a045673b.tar.gz
- Change parameters passed to stylesheets.
* src/yelp-db2html.c: - Change parameters passed to stylesheets. * stylesheets/yelp-customization.xsl: - Remove compatibility with old param names.
-rw-r--r--ChangeLog5
-rw-r--r--src/yelp-db2html.c22
-rw-r--r--stylesheets/ChangeLog5
-rw-r--r--stylesheets/yelp-customization.xsl12
4 files changed, 27 insertions, 17 deletions
diff --git a/ChangeLog b/ChangeLog
index 302bfe1a..63b38c4e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-07-24 Shaun McCance <shaunm@wolfram.com>
+
+ * src/yelp-db2html.c:
+ - Change parameters passed to stylesheets.
+
2003-07-15 John Fleck <jfleck@inkstain.net>
* configure.in: version 2.3.4
diff --git a/src/yelp-db2html.c b/src/yelp-db2html.c
index 8665b0e0..1441f2c5 100644
--- a/src/yelp-db2html.c
+++ b/src/yelp-db2html.c
@@ -117,15 +117,19 @@ main (gint argc, gchar **argv)
pathname = g_path_get_dirname (docpath);
/* set params to be passed to stylesheet */
- params[0] = "gdb_docname";
- params[1] = g_strconcat("\"", docpath, "\"", NULL) ;
- params[2] = "gdb_pathname";
- params[3] = g_strconcat("\"", pathname, "\"", NULL) ;
- params[4] = "gdb_stylesheet_path";
- params[5] = g_strconcat("\"", DB_STYLESHEET_PATH, "\"", NULL) ;
- params[6] = "gdb_multichunk";
- params[7] = "1";
- params[8] = NULL;
+ params[0] = "yelp_docname";
+ params[1] = g_strconcat("\"", docpath, "\"", NULL) ;
+ params[2] = "yelp_pathname";
+ params[3] = g_strconcat("\"", pathname, "\"", NULL) ;
+ params[4] = "yelp_stylesheet_path";
+ params[5] = g_strconcat("\"", DB_STYLESHEET_PATH, "\"", NULL) ;
+ params[6] = "yelp_max_chunk_depth";
+ params[7] = "2";
+ params[8] = "yelp_generate_navbar";
+ params[9] = "1";
+ params[10] = "yelp_chunk_method";
+ params[11] = "'yelp'";
+ params[12] = NULL;
g_free (pathname);
diff --git a/stylesheets/ChangeLog b/stylesheets/ChangeLog
index ef8fd61e..7179a010 100644
--- a/stylesheets/ChangeLog
+++ b/stylesheets/ChangeLog
@@ -1,3 +1,8 @@
+2003-07-24 Shaun McCance <shaunm@wolfram.com>
+
+ * yelp-customization.xsl:
+ - Remove compatibility with old param names.
+
2003-07-21 Shaun McCance <shaunm@wolfram.com>
* yelp-customization.xsl:
diff --git a/stylesheets/yelp-customization.xsl b/stylesheets/yelp-customization.xsl
index d989ff74..7d8707bc 100644
--- a/stylesheets/yelp-customization.xsl
+++ b/stylesheets/yelp-customization.xsl
@@ -10,18 +10,14 @@
<xsl:include href="yelp-custom.xsl"/>
<xsl:include href="yelp-functions.xsl"/>
-<xsl:param name="gdb_docname"/>
-<xsl:param name="gdb_pathname"/>
-<xsl:param name="gdb_stylesheet_path" select="'No Stylesheet'" />
-
-<xsl:param name="yelp_docname" select="$gdb_docname"/>
-<xsl:param name="yelp_pathname" select="$gdb_pathname"/>
-<xsl:param name="yelp_stylesheet_path" select="$gdb_stylesheet_path" />
+<xsl:param name="yelp_docname"/>
+<xsl:param name="yelp_pathname"/>
+<xsl:param name="yelp_stylesheet_path" select="'No Stylesheet'" />
<xsl:param name="yelp_max_chunk_depth" select="2" />
<xsl:param name="yelp_generate_navbar" select="true()"/>
<!-- either 'yelp' or 'exslt' -->
-<xsl:param name="yelp_chunk_method" select="'yelp'"/>
+<xsl:param name="yelp_chunk_method" select="'exslt'"/>
<xsl:output encoding="ISO-8859-1" />