Closed egli closed 9 years ago
indent
is basically a very simple transformer which just takes the output of emit
and transforms it using indent='yes'
. Unfortunately it doesn't retain the doctype. So after a day of enhancing indent
to keep the doctype and then trying to make the transformation non-validating I opted for a simple hack: Just pipe the modified ncc.html
and master.smil
through xmllint
.
The
ncc.html
given by obi and is updated to make sure the meta data is correct.clojure.data.xml/emit
does so without any newlines. This apparently makes some reading devices choke.So emit the xml using
indent
.