Re: [docbook-apps] Re: xml/groff: comments in text=>whitespace stripped?!

From
Tim Waugh <>
Date
2003-06-08T17:36:28+00:00
ID
Thread
Re: [docbook-apps] Re: xml/groff: comments in text=>whitespace stripped?!
On Sun, Jun 08, 2003 at 12:47:34PM -0400, Sam Steingold wrote:

> this would work just fine.
> 
> 1. apply templates
> 2. replace newlines with a special non-white character, e.g. NULL
> 3. normalize-space
> 4. replace [space NULL] with newline and then [NULL] with newline.
> 
> Tim, could you please consider this?
> 
> note that the current XSL/groff style sheets are broken here...

Step 4 looks like it could end up being very slow.

Do you have a suggestion for a reasonable implementation?

Tim.
*/