If Jade is outputting extra paragraphs, it is because you have asked it
to, not because of spaces or newlines in the document itself.
I would guess that the extra 'newlines' (paragraphs) are probably
appearing because you have <item> within <item>. If you simply put:
(element item
(make paragraph
...
(process-children)))
then each <item> will produce a paragraph flow object, and you are
effectively asking Jade to produce nested paragraphs. Of course, RTF,
having a pretty flat model for the document, can't do that, and probably
generates an extra paragraph instead.
>when I put this thru jade without a DTD, I get a whole
>lotta extra space and newlines. With docbook3 and
>itemizedlists, there is no extra whitespace. So, I assume
>that a proper DTD is the way to slurp up the unwanted
>whitespace. Correct?
If you use (process-children-trim) rather than (process-children), a
DSSSL engine will chuck out all leading and trailing space from each
element - this might allow you need to deal with your well-formed input
'as is', rather than having to write a DTD.
Do you know there is a DSSSL list (dssslist@mulberrytech.com)?
Hope this helps,
Richard Light.
Richard Light
SGML/XML and Museum Information Consultancy
richard@light.demon.co.uk