SHA256
1
0
forked from pool/xmlto
xmlto/xmlto-0.0.18-xsltopts.diff

33 lines
1009 B
Diff

--- xmlto-0.0.18/xmlto.in.~1~ 2004-01-02 13:03:24.000000000 +0100
+++ xmlto-0.0.18/xmlto.in 2007-12-12 15:39:19.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
@@ -156,7 +157,7 @@
# Process any options
ARGS=$(${GETOPT} \
- --longoptions=help,version,extensions,searchpath:,skip-validation \
+ --longoptions=help,version,extensions,searchpath:,skip-validation,xsltopts: \
-n xmlto -- x:m:o:p:v "$@")
[ $? != 0 ] && { usage; exit 1; }
eval set -- "$ARGS"
@@ -222,6 +223,10 @@
SKIP_VALIDATION=1
shift
;;
+ --xsltopts)
+ XSLTOPTS="$XSLTOPTS $2"
+ shift 2
+ ;;
--)
shift
break
Diff finished. Wed Dec 12 15:39:29 2007