#!/bin/sh

export PATH=/bin:/usr/bin

echo "Content-type: application/xml"
echo

echo '<?xml version="1.0"?>'
echo '<?xml-stylesheet type="text/xsl" href="screenshot.xsl"?>'

echo '<h3screenshot_collection>'

for f in `ls -1 *.xml | sort -r -n`; do
  grep -v '^<?xml' $f
done

echo '</h3screenshot_collection>'
