Mercurial > hg > rsof
view MHMC/htmlToXML.sh @ 620:a9577984cdfc
rough
| author | Henry S. Thompson <ht@inf.ed.ac.uk> |
|---|---|
| date | Tue, 29 Apr 2025 15:46:28 +0100 |
| parents | b9c60ab31f0f |
| children | 58090a2a81a1 |
line wrap: on
line source
#!/usr/bin/bash 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
