view MHMC/htmlToXML.sh @ 583:bf1c57331bc4

one typo, ready for S&A
author Henry S Thompson <ht@inf.ed.ac.uk>
date Tue, 19 Nov 2024 11:56:18 +0000
parents 58090a2a81a1
children
line wrap: on
line source

#!/usr/bin/bash -vx
HOME="$(cygpath -w $HOME)"
{ echo '<html xmlns="http://www.w3.org/1999/xhtml"><body>' 
  cat "$1".html ; echo '</body></html>' 
 } | saxon97 - "$HOME"\\lib\\xml\\htmlToXML.xsl  > "${1-2}".xml