projects
/
xmldoc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Created Debian package
[xmldoc.git]
/
xml2text.in
1
#!/bin/sh
2
3
XSLDIR=@prefix@/xslt
4
5
stylesheet=$XSLDIR/text.xsl
6
inputs=
7
8
while [ $# -gt 0 ]
9
do
10
case $1 in
11
-s)
12
stylesheet=$2
13
shift
14
;;
15
16
-*)
17
echo Usage: $0 [-s stylesheet] file...
18
exit 1
19
;;
20
21
*)
22
inputs=`echo $inputs $1`
23
;;
24
25
esac
26
shift
27
done
28
#TMPFILE=`mktemp /tmp/xmldoc.XXXXXX`
29
#xp $XSLDIR/preprocess.xsl $inputs >$TMPFILE
30
xp $stylesheet $inputs