File xmlto-0.0.23-xsltopts.diff of Package xmlto

--- xmlto.in.orig	2009-09-21 14:41:17.000000000 +0200
+++ xmlto.in	2009-12-16 15:38:31.000000000 +0100
@@ -37,6 +37,7 @@
   -o directory    put output in the specified directory instead of
                   the current working directory
   -p postprocopts pass option to postprocessor
+  --xsltopts      use xsltproc command line options
   --extensions    turn on stylesheet extensions for this tool chain
   --searchpath    colon-separated list of fallback directories
   --skip-validation
@@ -251,7 +252,7 @@
 
 # Process any options
 ARGS=$(${GETOPT} \
-	--longoptions=help,version,extensions,searchpath:,skip-validation,stringparam:,noclean,noautosize,with-fop,with-dblatex \
+	--longoptions=help,version,extensions,searchpath:,skip-validation,stringparam:,noclean,noautosize,with-fop,with-dblatex,xsltopts: \
 	-n xmlto -- x:m:o:p:v "$@")
 [ $? != 0 ] && { usage; exit 1; }
 eval set -- "$ARGS"
@@ -356,6 +357,10 @@
 	fi
 	shift
 	;;
+  --xsltopts)
+      XSLTOPTS="$XSLTOPTS $2"
+      shift 2
+      ;;
   --)
 	shift
 	break
openSUSE Build Service is sponsored by