Mercurial > hg > rsof
view MHMC/htmlToXML.sh @ 600:b4507aa60127 default tip
merge
author | Henry S Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Tue, 14 Jan 2025 15:02:12 +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