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 as a line break, but as 2 line breaks. Just in case you go for the "obvious" solution of always expanding out to , won't work. but with a space works. And this applies to most tags with this behavior---the space helps, and it validates with W3C XHTML

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 (and I expect > other tags like will have the same) tag has closing slash as it Just a bit of info on the br, IE treats as a line break, but as 2 line breaks. Just in case you go for the "obvious" solution of always expanding out to , wo

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 (and I expect other tags like 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 according to th

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

2006-08-30 Thread Dimitry Golubovsky
Hi, I am developing a code that reads a HTML page (template), modifies it (adds some stuff) and then writes the output file which is to be HTML, not XML. I use hxt-5.3 (but I may upgrade if necessary). It is desired to preserve the original HTML template pieces maximally close to the original.