From a1e4af3266e24164468b42cd178643a4afe60367 Mon Sep 17 00:00:00 2001 From: Jonathan Blake Date: Sat, 4 Mar 2006 01:07:43 +0000 Subject: [PATCH] Added parameter to pass the language of the document to the transformation. git-svn-id: https://projectaon.org/data/trunk@131 f6f3e2d7-ff33-0410-aaf5-b4bee2cdac11 --- scripts/gbtoxhtml.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/gbtoxhtml.pl b/scripts/gbtoxhtml.pl index 18cdcd1..d34f123 100755 --- a/scripts/gbtoxhtml.pl +++ b/scripts/gbtoxhtml.pl @@ -7,6 +7,9 @@ # $Id$ # # $Log$ +# Revision 2.1 2006/03/04 01:07:43 jonathan.blake +# Added parameter to pass the language of the document to the transformation. +# # Revision 2.0 2006/02/28 23:50:54 jonathan.blake # Extensive overhaul and changed command line interface # @@ -154,7 +157,7 @@ if( $bookXML =~ m{^([-\w\@./]+)$} ) { } print qx{$RM $rulesHash{'book-path'}$FILENAME_SEPARATOR*}; - print qx{$JAVA -classpath "$XALAN_JAR" org.apache.xalan.xslt.Process -IN "$bookXML" -XSL "$xhtmlXSL" -OUT "$rulesHash{'book-path'}${FILENAME_SEPARATOR}foo.xml" -PARAM background-color "$rulesHash{'background-color'}" -PARAM text-color "$rulesHash{'text-color'}" -PARAM link-color "$rulesHash{'link-color'}" -PARAM use-illustrators "$rulesHash{'use-illustrators'}"}; + print qx{$JAVA -classpath "$XALAN_JAR" org.apache.xalan.xslt.Process -IN "$bookXML" -XSL "$xhtmlXSL" -OUT "$rulesHash{'book-path'}${FILENAME_SEPARATOR}foo.xml" -PARAM background-color "$rulesHash{'background-color'}" -PARAM text-color "$rulesHash{'text-color'}" -PARAM link-color "$rulesHash{'link-color'}" -PARAM use-illustrators "$rulesHash{'use-illustrators'}" -PARAM language "$rulesHash{'language'}"}; print qx{$RM $rulesHash{'book-path'}${FILENAME_SEPARATOR}foo.xml}; foreach my $cssTemplate (split( /:/, $rulesHash{'csst'} )) { -- 2.34.1