view MHMC/htmlToXML.sh @ 573:55b86bd1a2fd

ready for 14/11, that tab sorted by status colour
author Henry S Thompson <ht@inf.ed.ac.uk>
date Thu, 14 Nov 2024 09:41:01 +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