Hello all

Not a major problem, but something I was puzzling over: how do the line breaks get into HTML source files generated from DocBook XML? (or indeed any XML I suppose.)

I don't mean the <br /> ones, I mean the ones that format the page you can see when you "View Source" (which e.g. in PHP could be added by "\n").

I've noticed that when I use a <para> tag, the HTML-source result already includes line breaks separating the different paragraphs, plus some tabs indenting them as well. But some other things, e.g. TOCs and <head> sections, come out all in one big line "behind the scenes". Ideally I'd like to add some line breaks into those too, to make the source file easier to read and check. It wasn't obvious to me how the <para> templates were doing it though.

Is there an easy way and if so what is it?

thanks

Jennifer

--
www.uncharted-worlds.org/blog/

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org

Reply via email to