Re: [Haskell-cafe] How to force HTML (rather than XML) output from Haskell XML Toolbox?

2006-08-30 Thread Jared Updike
which is close but not exactly as wanted. The meta (and I expect other tags like br will have the same) tag has closing slash as it would have in XML (XHTML), but not in HTML. Also the DOCTYPE has been lost. I've had similar problems outputting XHTML. For example, naive output (correct

Re: [Haskell-cafe] How to force HTML (rather than XML) output from Haskell XML Toolbox?

2006-08-30 Thread Neil Mitchell
Hi which is close but not exactly as wanted. The meta (and I expect other tags like br will have the same) tag has closing slash as it Just a bit of info on the br, IE treats br/ as a line break, but br/br as 2 line breaks. Just in case you go for the obvious solution of always expanding

Re: [Haskell-cafe] How to force HTML (rather than XML) output from Haskell XML Toolbox?

2006-08-30 Thread Jared Updike
Just a bit of info on the br, IE treats br/ as a line break, but br/br as 2 line breaks. Just in case you go for the obvious solution of always expanding out a/ to a/a, br won't work. but br / with a space works. And this applies to most tags with this behavior---the space helps, and it