#!/bin/bash
#$Id: xsltfilter.in,v 1.1 2002/03/07 08:29:21 martin Exp $
# Medoosa: Support for Documentation of C++ Programs
# Master's Thesis, Faculty of Mathematics and Physics, Charles University
# Martin Vidner, 2001
# Released under the terms of the GNU General Public License.
#usage: $0 stylesheet.xsl [param1 value1 p2 v2...] <input.xml >output.xml
set -x
SHEET=$1
shift
while [ -n "$1" ]; do
  PNAME=$1
  PVALUE=$2
  PARAMS="$PARAMS --param $PNAME $PVALUE"
  shift
  shift
done
xsltproc $PARAMS $SHEET <(cat)
